diff options
Diffstat (limited to 'spec/active_relation/unit/relations/table_spec.rb')
-rw-r--r-- | spec/active_relation/unit/relations/table_spec.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/active_relation/unit/relations/table_spec.rb b/spec/active_relation/unit/relations/table_spec.rb index 3b02f80701..f8d4431aa7 100644 --- a/spec/active_relation/unit/relations/table_spec.rb +++ b/spec/active_relation/unit/relations/table_spec.rb @@ -45,9 +45,15 @@ module ActiveRelation end end + describe '#column_for' do + it "" do + pending + end + end + describe '#prefix_for' do it "returns the table name if the relation contains the attribute" do - @relation.prefix_for(@relation[:id]).should == :users + @relation.prefix_for(@relation[:id]).should == 'users' @relation.prefix_for(:does_not_exist).should be_nil end end |