Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/cases/coerced_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_value_limit_violations_are_translated_to_specific_exception_coerced
# Fix randomly failing test. The loading of the model's schema was affecting the test.
coerce_tests! :test_errors_when_an_insert_query_is_called_while_preventing_writes
def test_errors_when_an_insert_query_is_called_while_preventing_writes_coerced
Subscriber.send(:load_schema)
Subscriber.send(:load_schema!)
original_test_errors_when_an_insert_query_is_called_while_preventing_writes
end
end
Expand Down Expand Up @@ -263,7 +263,7 @@ class InstrumentationTest < ActiveRecord::TestCase
# Fix randomly failing test. The loading of the model's schema was affecting the test.
coerce_tests! :test_payload_name_on_load
def test_payload_name_on_load_coerced
Book.send(:load_schema)
Book.send(:load_schema!)
original_test_payload_name_on_load
end
end
Expand All @@ -276,7 +276,7 @@ class CalculationsTest < ActiveRecord::TestCase
# Fix randomly failing test. The loading of the model's schema was affecting the test.
coerce_tests! :test_offset_is_kept
def test_offset_is_kept_coerced
Account.send(:load_schema)
Account.send(:load_schema!)
original_test_offset_is_kept
end

Expand Down