aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/inheritance_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/inheritance_test.rb b/activerecord/test/cases/inheritance_test.rb
index f67d85603a..2d939dc3d7 100644
--- a/activerecord/test/cases/inheritance_test.rb
+++ b/activerecord/test/cases/inheritance_test.rb
@@ -352,8 +352,8 @@ class InheritanceTest < ActiveRecord::TestCase
end
def test_scope_inherited_properly
- assert_nothing_raised { Company.of_first_firm }
- assert_nothing_raised { Client.of_first_firm }
+ assert_nothing_raised { Company.of_first_firm.to_sql }
+ assert_nothing_raised { Client.of_first_firm.to_sql }
end
end