Skip to content

Commit 7f35ef2

Browse files
author
Maxim Krizhanovski
committed
Remove unneeded disables
1 parent b131896 commit 7f35ef2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/project/changelog_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
it 'has a valid URL' do
4040
issues.each do |issue|
4141
number = issue[:number].gsub(/\D/, '')
42-
pattern = %r{^https://github\.com/.+/.+/(?:issues|pull)/#{number}$} # rubocop:disable Metrics/LineLength
42+
pattern = %r{^https://github\.com/.+/.+/(?:issues|pull)/#{number}$}
4343
expect(issue[:url]).to match(pattern)
4444
end
4545
end

spec/rubocop/cop/rspec/factory_bot/attribute_defined_statically_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::FactoryBot::AttributeDefinedStatically do # rubocop:disable Metrics/LineLength
3+
RSpec.describe RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically do
44
subject(:cop) { described_class.new }
55

66
it 'registers an offense for offending code' do

0 commit comments

Comments
 (0)