diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-26 10:29:12 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-05-26 10:29:12 +0200 |
commit | f7aba153164618522232c912eb833bd7596f5f53 (patch) | |
tree | d73170b595cca79ad5a2d45a043b98ff985dd0bd /spec/spec_helper.rb | |
parent | acc22a8422cd1471819510aa375c455b5ea009c5 (diff) | |
download | gitlab-ce-f7aba153164618522232c912eb833bd7596f5f53.tar.gz |
Make migration specs by using migrator in around hook
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 992c0c29c72..9ed705a5267 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -100,7 +100,7 @@ RSpec.configure do |config| example.run - ActiveRecord::Migration.maintain_test_schema! + ActiveRecord::Migrator.migrate(migrations_paths) end end |