diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-16 12:49:06 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-16 12:49:06 +0200 |
commit | 71564974935feafd3f0025ec51832fcea6cba003 (patch) | |
tree | 26f99ab03332970b24df72c557fdb1f5ace186af /spec/support | |
parent | 04f7f394d3825e3290f523dce28d42b7c87fc9bb (diff) | |
download | gitlab-ce-71564974935feafd3f0025ec51832fcea6cba003.tar.gz |
Migrate db schema for context in :migration specs
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/db_cleaner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/db_cleaner.rb b/spec/support/db_cleaner.rb index 7f5769209bb..7492f999a18 100644 --- a/spec/support/db_cleaner.rb +++ b/spec/support/db_cleaner.rb @@ -19,7 +19,7 @@ RSpec.configure do |config| DatabaseCleaner.strategy = :truncation end - config.before(:each, :migration) do + config.before(:context, :migration) do DatabaseCleaner.strategy = :truncation end |