aboutsummaryrefslogtreecommitdiffstats
path: root/spec/active_relation/unit/relations/join_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/active_relation/unit/relations/join_spec.rb')
-rw-r--r--spec/active_relation/unit/relations/join_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/active_relation/unit/relations/join_spec.rb b/spec/active_relation/unit/relations/join_spec.rb
index b274da7565..423e513be4 100644
--- a/spec/active_relation/unit/relations/join_spec.rb
+++ b/spec/active_relation/unit/relations/join_spec.rb
@@ -161,10 +161,10 @@ module ActiveRelation
describe 'when joining with a string' do
it "passes the string through to the where clause" do
- Join.new("INNER JOIN ON asdf", @relation1).to_sql.should be_like("
+ Join.new("INNER JOIN asdf ON fdsa", @relation1).to_sql.should be_like("
SELECT `users`.`id`, `users`.`name`
FROM `users`
- INNER JOIN ON asdf
+ INNER JOIN asdf ON fdsa
")
end
end