aboutsummaryrefslogtreecommitdiffstats
path: root/spec/algebra/unit/relations/table_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/algebra/unit/relations/table_spec.rb')
-rw-r--r--spec/algebra/unit/relations/table_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/algebra/unit/relations/table_spec.rb b/spec/algebra/unit/relations/table_spec.rb
index d93446f1b9..d1c7cc46ba 100644
--- a/spec/algebra/unit/relations/table_spec.rb
+++ b/spec/algebra/unit/relations/table_spec.rb
@@ -9,7 +9,7 @@ module Arel
describe '[]' do
describe 'when given a', Symbol do
it "manufactures an attribute if the symbol names an attribute within the relation" do
- check @relation[:id].should == Attribute.new(@relation, :id)
+ check @relation[:id].should == Attributes::Integer.new(@relation, :id)
end
end