Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubocop_spec_helper.rb')
-rw-r--r--spec/rubocop_spec_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/rubocop_spec_helper.rb b/spec/rubocop_spec_helper.rb
index 9884cdd0272..2f1dc2843be 100644
--- a/spec/rubocop_spec_helper.rb
+++ b/spec/rubocop_spec_helper.rb
@@ -8,6 +8,7 @@ require 'fast_spec_helper'
require 'rubocop'
require 'rubocop/rspec/shared_contexts/default_rspec_language_config_context'
+require_relative 'support/helpers/next_instance_of'
require_relative 'rubocop/support_workaround'
RSpec.configure do |config|
@@ -21,6 +22,7 @@ RSpec.configure do |config|
config.include RuboCop::RSpec::ExpectOffense, type: :rubocop
config.include RuboCop::RSpec::ExpectOffense, type: :rubocop_rspec
+ config.include NextInstanceOf
config.include_context 'config', type: :rubocop
config.include_context 'with default RSpec/Language config', type: :rubocop_rspec