summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-05-26 10:29:12 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-05-26 10:29:12 +0200
commitf7aba153164618522232c912eb833bd7596f5f53 (patch)
treed73170b595cca79ad5a2d45a043b98ff985dd0bd /spec/spec_helper.rb
parentacc22a8422cd1471819510aa375c455b5ea009c5 (diff)
downloadgitlab-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.rb2
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