1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
- Reverting #a3cf03ef99 fixes the issue

Conflicts:
	activerecord/test/cases/relations_test.rb
This commit is contained in:
Cédric FABIANSKI 2013-01-04 16:12:29 +01:00 committed by Rafael Mendonça França
parent 28fd867c9b
commit 162e285981

View file

@ -745,6 +745,11 @@ class RelationTest < ActiveRecord::TestCase
end
end
def test_relation_to_sql
sql = Post.first.comments.to_sql
assert_no_match(/\?/, sql)
end
def test_count
posts = Post.all