Skip to content

Commit

Permalink
Improved test
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Nov 9, 2024
1 parent d56919e commit 397b831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/misc_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_unsupported_adapter
previous_db_config = ActiveRecord::Base.connection_db_config.configuration_hash
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
schema_migration.create_table
assert_output nil, /Unsupported adapter/ do
assert_output nil, "[strong_migrations] Unsupported adapter: SQLite. Use StrongMigrations.skip_database(:primary) to silence this warning.\n" do
assert_unsafe CreateTableForce
end
ensure
Expand Down

0 comments on commit 397b831

Please sign in to comment.