summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
blob: dfdf449842ca08899281b0e2d7c042a79372bba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'rspec-parameterized'
require 'simplecov'
SimpleCov.start

require 'gitlab_init'

Dir[File.expand_path('support/**/*.rb', __dir__)].each { |f| require f }

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.before(:each) do
    stub_const('ROOT_PATH', File.expand_path('..', __dir__))
  end
end