diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-12 19:22:19 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-12 19:22:19 -0700 |
commit | 5ea98130038ff5395239f3f6e46dc9276d3198ec (patch) | |
tree | 479df4a93436a6744bed63840c88c9cc43aab9bc /spec/arel | |
parent | 6cd4e8f51ff231cafb2fdb6d71328f763c934b0b (diff) | |
download | rails-5ea98130038ff5395239f3f6e46dc9276d3198ec.tar.gz rails-5ea98130038ff5395239f3f6e46dc9276d3198ec.tar.bz2 rails-5ea98130038ff5395239f3f6e46dc9276d3198ec.zip |
OUTER JOIN should be LEFT OUTER JOIN
Diffstat (limited to 'spec/arel')
-rw-r--r-- | spec/arel/select_manager_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/arel/select_manager_spec.rb b/spec/arel/select_manager_spec.rb index 02586f3a65..df8d236bc3 100644 --- a/spec/arel/select_manager_spec.rb +++ b/spec/arel/select_manager_spec.rb @@ -252,7 +252,7 @@ module Arel manager = Arel::SelectManager.new Table.engine manager.from Nodes::OuterJoin.new(table, aliaz, table[:id].eq(aliaz[:id])) manager.join_sql.should be_like %{ - OUTER JOIN "users" "users_2" "users"."id" = "users_2"."id" + LEFT OUTER JOIN "users" "users_2" "users"."id" = "users_2"."id" } check manager.joins(manager).should == manager.join_sql end |