Skip to content

Commit

Permalink
fixup! Remove redundant explicit config metadata
Browse files Browse the repository at this point in the history
For cops, our spec helper specifies that `config` metadata is always
added.
  • Loading branch information
pirj committed Oct 28, 2020
1 parent bcb058c commit 7fb58c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/rubocop/cop/rspec/base_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

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

Expand Down
2 changes: 1 addition & 1 deletion spec/rubocop/cop/rspec/instance_variable_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

RSpec.describe RuboCop::Cop::RSpec::InstanceVariable, :config do
RSpec.describe RuboCop::Cop::RSpec::InstanceVariable do
it 'flags an instance variable inside a describe' do
expect_offense(<<-RUBY)
describe MyClass do
Expand Down

0 comments on commit 7fb58c3

Please sign in to comment.