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:
parent
db116a2ed6
commit
6769d824f9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue