Commit 43f1a6ef authored by James Fargher's avatar James Fargher

Merge branch 'fix_order_dependent_dev_rake' into 'master'

Fix order-dependent failure

See merge request gitlab-org/gitlab!85341
parents 49f4b6ec 7bf6a79c
......@@ -12,6 +12,15 @@ RSpec.describe 'dev rake tasks' do
end
describe 'setup' do
around do |example|
old_force_value = ENV['force']
# setup rake task sets the force env var, so reset it
example.run
ENV['force'] = old_force_value # rubocop:disable RSpec/EnvAssignment
end
subject(:setup_task) { run_rake_task('dev:setup') }
let(:connections) { Gitlab::Database.database_base_models.values.map(&:connection) }
......
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