aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/unit/relations/update_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/arel/unit/relations/update_spec.rb')
-rw-r--r--spec/arel/unit/relations/update_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/arel/unit/relations/update_spec.rb b/spec/arel/unit/relations/update_spec.rb
index 976e88dddc..f411781392 100644
--- a/spec/arel/unit/relations/update_spec.rb
+++ b/spec/arel/unit/relations/update_spec.rb
@@ -10,7 +10,7 @@ module Arel
it "manufactures sql updating attributes when given multiple attributes" do
Update.new(@relation, @relation[:id] => 1, @relation[:name] => "nick").to_sql.should be_like("
UPDATE `users`
- SET `users`.`name` = 'nick', `users`.`id` = 1
+ SET `users`.`id` = 1, `users`.`name` = 'nick'
")
end