diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-08-29 15:23:28 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-08-29 15:27:34 +0200 |
commit | 6769d824f9c20812a0e6cd6e0c19742984b2450e (patch) | |
tree | f3dcb43ece76ab91ac0024905c592178a70784a3 /activerecord | |
parent | db116a2ed688d36570f412a42e9fc33dcbca56c7 (diff) | |
download | rails-6769d824f9c20812a0e6cd6e0c19742984b2450e.tar.gz rails-6769d824f9c20812a0e6cd6e0c19742984b2450e.tar.bz2 rails-6769d824f9c20812a0e6cd6e0c19742984b2450e.zip |
Fix parentheses warnings
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/named_scope_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/named_scope_test.rb b/activerecord/test/cases/named_scope_test.rb index 4fe7f4f5b9..acc3b3016a 100644 --- a/activerecord/test/cases/named_scope_test.rb +++ b/activerecord/test/cases/named_scope_test.rb @@ -250,7 +250,7 @@ class NamedScopeTest < ActiveRecord::TestCase end 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 def test_should_use_where_in_query_for_named_scope |