spec/engines/sql/unit/relations/table_spec.rb in arel-0.4.0 vs spec/engines/sql/unit/relations/table_spec.rb in arel-1.0.0.rc1
- old
+ new
@@ -106,16 +106,9 @@
lambda { @relation.reset }.should change { @relation.attributes }
end
end
end
- describe 'hashing' do
- it "implements hash equality" do
- Table.new(:users).should hash_the_same_as(Table.new(:users))
- Table.new(:users).should_not hash_the_same_as(Table.new(:photos))
- end
- end
-
describe '#engine' do
it "defaults to global engine" do
Table.engine = engine = Sql::Engine.new
Table.new(:users).engine.should == engine
end