diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-14 03:11:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-10-14 03:11:11 +0300 |
commit | eb9f5ce5d9ec0c5dd4954ffe448214ae8eb144ac (patch) | |
tree | 32a97b1bb6c3b3f317683e649d2e4d9991464bde /spec/rubocop_spec_helper.rb | |
parent | d6f2690ceeffc5306381618473cc4e3e613ebecf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/rubocop_spec_helper.rb')
-rw-r--r-- | spec/rubocop_spec_helper.rb | 2 |
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 |