aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2009-05-17 14:38:09 -0400
committerBryan Helmkamp <bryan@brynary.com>2009-05-17 14:38:09 -0400
commitb0a45d52fdb7d8ce564f4dc2013bc790f98f1da3 (patch)
treee9553add3be978b3392735a40b869bfdbc53ea7a /spec
parent7032a50297fce4d7724d1735e81e5df5fd919e71 (diff)
downloadrails-b0a45d52fdb7d8ce564f4dc2013bc790f98f1da3.tar.gz
rails-b0a45d52fdb7d8ce564f4dc2013bc790f98f1da3.tar.bz2
rails-b0a45d52fdb7d8ce564f4dc2013bc790f98f1da3.zip
consolidated files
Conflicts: lib/arel/algebra/predicates.rb lib/arel/algebra/relations/writes/delete.rb lib/arel/algebra/relations/writes/insert.rb lib/arel/algebra/relations/writes/update.rb lib/arel/engines/memory/predicates.rb lib/arel/engines/memory/relations.rb lib/arel/engines/sql/primitives/attribute.rb lib/arel/engines/sql/relations/writes/insert.rb lib/arel/engines/sql/relations/writes/update.rb
Diffstat (limited to 'spec')
-rw-r--r--spec/arel/unit/relations/table_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/arel/unit/relations/table_spec.rb b/spec/arel/unit/relations/table_spec.rb
index 211e6921f8..2779c0fe5d 100644
--- a/spec/arel/unit/relations/table_spec.rb
+++ b/spec/arel/unit/relations/table_spec.rb
@@ -73,14 +73,14 @@ module Arel
describe '#reset' do
it "reloads columns from the database" do
lambda { stub(@relation.engine).columns { [] } }.should_not change { @relation.attributes }
- lambda { @relation.reset }.should change { @relation.attributes }
+ 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 hash_the_same_as(Table.new(:users))
Table.new(:users).should_not hash_the_same_as(Table.new(:photos))
end
end