Skip to content

Commit 9e239be

Browse files
authored
Merge pull request #172 from koic/move_line_length_cop_to_layout_department
Move `LineLength` cop from `Metrics` to `Layout` department
2 parents 8dd305c + 22e595d commit 9e239be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/project_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
it 'has a valid URL' do
6666
issues.each do |issue|
6767
number = issue[:number].gsub(/\D/, '')
68-
pattern = %r{^https://github\.com/rubocop-hq/rubocop-rails/(?:issues|pull)/#{number}$} # rubocop:disable Metrics/LineLength
68+
pattern = %r{^https://github\.com/rubocop-hq/rubocop-rails/(?:issues|pull)/#{number}$} # rubocop:disable Layout/LineLength
6969
expect(issue[:url]).to match(pattern)
7070
end
7171
end

0 commit comments

Comments
 (0)