Skip to content

Commit 483901a

Browse files
committed
Remove redundant config metadata
Previously, this was needed to have control over "config" shared context inclusion. We wanted to include ours, but not the one from `rubocop`. This is a follow-up to #1332.
1 parent 8ffd310 commit 483901a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

spec/rubocop/cop/rspec/be_empty_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::BeEmpty, :config do
3+
RSpec.describe RuboCop::Cop::RSpec::BeEmpty do
44
it 'registers an offense when using `expect(array).to contain_exactly`' do
55
expect_offense(<<~RUBY)
66
expect(array).to contain_exactly

spec/rubocop/cop/rspec/change_by_zero_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::ChangeByZero, :config do
3+
RSpec.describe RuboCop::Cop::RSpec::ChangeByZero do
44
it 'registers an offense when using `change` and argument to `by` is zero' do
55
expect_offense(<<-RUBY)
66
it do

spec/rubocop/cop/rspec/rails/minitest_assertions_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::Rails::MinitestAssertions, :config do
3+
RSpec.describe RuboCop::Cop::RSpec::Rails::MinitestAssertions do
44
it 'registers an offense when using `assert_equal`' do
55
expect_offense(<<~RUBY)
66
assert_equal(a, b)

spec/rubocop/cop/rspec/skip_block_inside_example_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::SkipBlockInsideExample, :config do
3+
RSpec.describe RuboCop::Cop::RSpec::SkipBlockInsideExample do
44
it 'registers an offense when using `skip` with a block' do
55
expect_offense(<<~RUBY)
66
it 'does something' do

0 commit comments

Comments
 (0)