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.
2 parents 579730f + ca78a17 commit f89a893Copy full SHA for f89a893
test/cases/migration_test_sqlserver.rb
@@ -20,7 +20,7 @@ class MigrationTestSQLServer < ActiveRecord::TestCase
20
it 'not create a tables if error in migrations' do
21
begin
22
migrations_dir = File.join ARTest::SQLServer.migrations_root, 'transaction_table'
23
- quietly { ActiveRecord::MigrationContext.new(migrations_dir).up }
+ quietly { ActiveRecord::MigrationContext.new(migrations_dir, ActiveRecord::SchemaMigration).up }
24
rescue Exception => e
25
assert_match %r|this and all later migrations canceled|, e.message
26
end
0 commit comments