Fix typo
This commit is contained in:
parent
154f11663e
commit
a3ac43f4d2
@ -170,8 +170,8 @@ def test_find_in_batches_should_error_on_ignore_the_order
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_find_in_batches_should_not_error_if_config_overriden
|
def test_find_in_batches_should_not_error_if_config_overridden
|
||||||
# Set the config option which will be overriden
|
# Set the config option which will be overridden
|
||||||
prev = ActiveRecord::Base.error_on_ignored_order_or_limit
|
prev = ActiveRecord::Base.error_on_ignored_order_or_limit
|
||||||
ActiveRecord::Base.error_on_ignored_order_or_limit = true
|
ActiveRecord::Base.error_on_ignored_order_or_limit = true
|
||||||
assert_nothing_raised do
|
assert_nothing_raised do
|
||||||
|
Loading…
Reference in New Issue
Block a user