Commit b068379e authored by Nina's avatar Nina Committed by georg

Restore migration state to current after each test

parent 31b716ee
Pipeline #32718 passed with stages
in 10 minutes and 44 seconds
......@@ -5,6 +5,10 @@ describe 'AddSigEncToHeadersToMetaDefaults' do
let(:migration_under_test) { 20180110203100 }
let(:previous_migration) { 20170713215059 }
after(:each) do
ActiveRecord::Migrator.migrate(migrations_paths)
end
describe 'up' do
it 'sets the column defaults' do
ActiveRecord::Migrator.migrate(migrations_paths, previous_migration)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment