Skip to content

Commit b19c728

Browse files
committed
Fix test
1 parent ac5e91b commit b19c728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/migration_test_sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class MigrationTestSQLServer < ActiveRecord::TestCase
2020
it "not create a tables if error in migrations" do
2121
begin
2222
migrations_dir = File.join ARTest::SQLServer.migrations_root, "transaction_table"
23-
quietly { ActiveRecord::MigrationContext.new(migrations_dir, ActiveRecord::SchemaMigration).up }
23+
quietly { ActiveRecord::MigrationContext.new(migrations_dir).up }
2424
rescue Exception => e
2525
assert_match %r|this and all later migrations canceled|, e.message
2626
end

0 commit comments

Comments
 (0)