This commit is contained in:
Abhishek Jain 2016-06-09 10:37:43 +05:30
parent 154f11663e
commit a3ac43f4d2

@ -170,8 +170,8 @@ def test_find_in_batches_should_error_on_ignore_the_order
end
end
def test_find_in_batches_should_not_error_if_config_overriden
# Set the config option which will be overriden
def test_find_in_batches_should_not_error_if_config_overridden
# Set the config option which will be overridden
prev = ActiveRecord::Base.error_on_ignored_order_or_limit
ActiveRecord::Base.error_on_ignored_order_or_limit = true
assert_nothing_raised do