File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def test_value_limit_violations_are_translated_to_specific_exception_coerced
6161 # Fix randomly failing test. The loading of the model's schema was affecting the test.
6262 coerce_tests! :test_errors_when_an_insert_query_is_called_while_preventing_writes
6363 def test_errors_when_an_insert_query_is_called_while_preventing_writes_coerced
64- Subscriber . send ( :load_schema )
64+ Subscriber . send ( :load_schema! )
6565 original_test_errors_when_an_insert_query_is_called_while_preventing_writes
6666 end
6767 end
@@ -263,7 +263,7 @@ class InstrumentationTest < ActiveRecord::TestCase
263263 # Fix randomly failing test. The loading of the model's schema was affecting the test.
264264 coerce_tests! :test_payload_name_on_load
265265 def test_payload_name_on_load_coerced
266- Book . send ( :load_schema )
266+ Book . send ( :load_schema! )
267267 original_test_payload_name_on_load
268268 end
269269 end
@@ -276,7 +276,7 @@ class CalculationsTest < ActiveRecord::TestCase
276276 # Fix randomly failing test. The loading of the model's schema was affecting the test.
277277 coerce_tests! :test_offset_is_kept
278278 def test_offset_is_kept_coerced
279- Account . send ( :load_schema )
279+ Account . send ( :load_schema! )
280280 original_test_offset_is_kept
281281 end
282282
You can’t perform that action at this time.
0 commit comments