Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[#8743] Test case

- Reverting #a3cf03ef99 fixes the issue

Conflicts:
	activerecord/test/cases/relations_test.rb
  • Loading branch information...
commit 162e2859813b31c50700b453aa61992dfa57139e 1 parent 28fd867
FABIANSKI Cédric cfabianski authored rafaelfranca committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 activerecord/test/cases/relations_test.rb
5 activerecord/test/cases/relations_test.rb
View
@@ -745,6 +745,11 @@ def test_relation_merging_with_association
end
end
+ def test_relation_to_sql
+ sql = Post.first.comments.to_sql
+ assert_no_match(/\?/, sql)
+ end
+
def test_count
posts = Post.all
Please sign in to comment.
Something went wrong with that request. Please try again.