diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-21 20:12:21 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-01-21 20:12:21 -0800 |
commit | 3f50d5c23719b6877124fcd9669bbf4811f4c2eb (patch) | |
tree | 747aa417444d99d999e23a4a39fbff423eed70ca /spec/active_relation/relations/table_spec.rb | |
parent | 7f35d492372fd91cd35e7f9a2408efd64d28ccf5 (diff) | |
download | rails-3f50d5c23719b6877124fcd9669bbf4811f4c2eb.tar.gz rails-3f50d5c23719b6877124fcd9669bbf4811f4c2eb.tar.bz2 rails-3f50d5c23719b6877124fcd9669bbf4811f4c2eb.zip |
filling out some pending specs
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 |