From f95f0918d745856080c06b5e3ae5c323b2de43d2 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 15 Sep 2010 14:46:40 -0700 Subject: Revert "Table#[] returns nil when table does not exist" This reverts commit e460aa96ae9bd5f1a24d798b2d22984a54810c70. --- spec/arel/table_spec.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'spec/arel') diff --git a/spec/arel/table_spec.rb b/spec/arel/table_spec.rb index 9c84b170a2..5b68040aac 100644 --- a/spec/arel/table_spec.rb +++ b/spec/arel/table_spec.rb @@ -147,13 +147,6 @@ module Arel end end - describe 'when table does not exist' do - it 'returns nil' do - table = Table.new(:foooo) - table[:id].should be_nil - end - end - ### FIXME: this seems like a bad requirement. #describe 'when given an', Attribute do # it "returns the attribute if the attribute is within the relation" do -- cgit v1.2.3