Commit 2cc394fa authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'pl-rubocop-simplecov' into 'master'

Enable running simplecov in fast specs via `SIMPLECOV=1`

See merge request gitlab-org/gitlab!82500
parents 16991831 889ae519
......@@ -18,6 +18,9 @@ require_relative '../config/settings'
require_relative 'support/rspec'
require 'active_support/all'
require_relative 'simplecov_env'
SimpleCovEnv.start!
unless ActiveSupport::Dependencies.autoload_paths.frozen?
ActiveSupport::Dependencies.autoload_paths << 'lib'
ActiveSupport::Dependencies.autoload_paths << 'ee/lib'
......
# frozen_string_literal: true
require 'spec_helper'
require 'fast_spec_helper'
require_relative '../../../../rubocop/cop/database/establish_connection'
RSpec.describe RuboCop::Cop::Database::EstablishConnection do
......
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