1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix parentheses warnings

This commit is contained in:
Michael Koziarski 2008-08-29 15:23:28 +02:00
parent db116a2ed6
commit 6769d824f9

View file

@ -250,7 +250,7 @@ class NamedScopeTest < ActiveRecord::TestCase
end end
def test_rand_should_select_a_random_object_from_proxy def test_rand_should_select_a_random_object_from_proxy
assert Topic.approved.rand.is_a? Topic assert Topic.approved.rand.is_a?(Topic)
end end
def test_should_use_where_in_query_for_named_scope def test_should_use_where_in_query_for_named_scope