Skip to content

Commit 7fb58c3

Browse files
committed
fixup! Remove redundant explicit config metadata
For cops, our spec helper specifies that `config` metadata is always added.
1 parent bcb058c commit 7fb58c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/rubocop/cop/rspec/base_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
RSpec.describe RuboCop::Cop::RSpec::Base, :config do
3+
RSpec.describe RuboCop::Cop::RSpec::Base do
44
let(:cop_class) { RuboCop::RSpec::FakeCop }
55
let(:cop_config) { { 'Exclude' => %w[bar_spec.rb] } }
66

spec/rubocop/cop/rspec/instance_variable_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
RSpec.describe RuboCop::Cop::RSpec::InstanceVariable, :config do
3+
RSpec.describe RuboCop::Cop::RSpec::InstanceVariable do
44
it 'flags an instance variable inside a describe' do
55
expect_offense(<<-RUBY)
66
describe MyClass do

0 commit comments

Comments
 (0)