summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
blob: be5ff9c6b90a5bc4a96646829ebfdee76171a762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'pry'
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