aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_table.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-03 15:24:30 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-03 15:24:30 -0800
commit40603729cc1d9a8e636a887446d051390d15fcd8 (patch)
tree569e33bb28ec536341505487e6a3c3fdde0e9153 /test/test_table.rb
parentdbc1f65244ac0b75f746ea91289f2e36ced435a6 (diff)
downloadrails-40603729cc1d9a8e636a887446d051390d15fcd8.tar.gz
rails-40603729cc1d9a8e636a887446d051390d15fcd8.tar.bz2
rails-40603729cc1d9a8e636a887446d051390d15fcd8.zip
attributes do not need a column member
Diffstat (limited to 'test/test_table.rb')
-rw-r--r--test/test_table.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/test_table.rb b/test/test_table.rb
index 93cdde8f68..bb7bd255fd 100644
--- a/test/test_table.rb
+++ b/test/test_table.rb
@@ -174,13 +174,6 @@ module Arel
it "manufactures an attribute if the symbol names an attribute within the relation" do
column = @relation[:id]
column.name.must_equal :id
- column.must_be_kind_of Attributes::Integer
- end
- end
-
- describe 'when table does not exist' do
- it 'returns nil' do
- @relation[:foooo].must_be_nil
end
end
end