summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorGiorgenes Gelatti <ggelatti@gitlab.com>2019-08-01 17:55:42 +1000
committerGiorgenes Gelatti <ggelatti@gitlab.com>2019-08-11 14:13:38 +1000
commitf74de0c144473b20bded6d236bfef0ca010fd0c4 (patch)
tree23d3112e4c542f1f58890144a9c0683122d82166 /spec/spec_helper.rb
parent01b736fb050cf5375ca23785731831f4d3ad08c9 (diff)
downloadgitlab-ce-f74de0c144473b20bded6d236bfef0ca010fd0c4.tar.gz
Allow to use focus: true in specs
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index bcc133790d1..bd504f1553b 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -48,6 +48,9 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
quality_level = Quality::TestLevel.new
RSpec.configure do |config|
+ config.filter_run focus: true
+ config.run_all_when_everything_filtered = true
+
config.use_transactional_fixtures = true
config.use_instantiated_fixtures = false
config.fixture_path = Rails.root