diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-26 14:46:45 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-26 14:46:45 +0200 |
commit | 918ababba6fce694c61d54bb2ff6983a886f696a (patch) | |
tree | 1d502368d29711fb4c2fae814b4fb99bb8ca4bfe /spec/spec_helper.rb | |
parent | 0f9fbae78a51f7bf4df50d96060087e1cf903b05 (diff) | |
download | gitlab-ce-918ababba6fce694c61d54bb2ff6983a886f696a.tar.gz |
Add pipeline stages post deployment migration
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2c1c252be37..b4ece5c60c1 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -95,8 +95,8 @@ RSpec.configure do |config| end config.around(:example, migration: true) do |example| - ActiveRecord::Migrator - .migrate(migrations_paths, example.metadata.fetch(:schema)) + schema_version = example.metadata.fetch(:schema) + ActiveRecord::Migrator.migrate(migrations_paths, schema_version) example.run |