Browse files

[#8743] Test case

- Reverting #a3cf03ef99 fixes the issue

Conflicts:
	activerecord/test/cases/relations_test.rb
  • Loading branch information...
1 parent 28fd867 commit 162e2859813b31c50700b453aa61992dfa57139e Cédric FABIANSKI committed with rafaelfranca Jan 4, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 activerecord/test/cases/relations_test.rb
View
5 activerecord/test/cases/relations_test.rb
@@ -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

0 comments on commit 162e285

Please sign in to comment.