We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 900e69c commit 5832c04Copy full SHA for 5832c04
test/cases/coerced_tests.rb
@@ -389,7 +389,7 @@ def test_payload_row_count_on_raw_sql_coerced
389
# Fix randomly failing test. The loading of the model's schema was affecting the test.
390
coerce_tests! :test_payload_affected_rows
391
def test_payload_affected_rows_coerced
392
- Book.send(:load_schema!)
+ Book.create!(name: "TEMP RECORD TO RUN SCHEMA QUERIES").destroy!
393
original_test_payload_affected_rows
394
end
395
0 commit comments