diff options
Diffstat (limited to 'spec/active_relation/relations/table_spec.rb')
-rw-r--r-- | spec/active_relation/relations/table_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/active_relation/relations/table_spec.rb b/spec/active_relation/relations/table_spec.rb index ec6e6e10bd..c8679707f5 100644 --- a/spec/active_relation/relations/table_spec.rb +++ b/spec/active_relation/relations/table_spec.rb @@ -17,7 +17,10 @@ module ActiveRelation describe '#attributes' do it 'manufactures attributes corresponding to columns in the table' do - pending + @relation.attributes.should == [ + Attribute.new(@relation, :name), + Attribute.new(@relation, :id) + ] end end |