File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
rubocop/cop/rspec/factory_bot Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments