spec/project_spec.rb in rubocop-rspec-1.1.0 vs spec/project_spec.rb in rubocop-rspec-1.2.0

- old
+ new

@@ -75,10 +75,10 @@ end it 'has a valid URL' do issues.each do |issue| number = issue[:number].gsub(/\D/, '') - pattern = %r{^https://github\.com/[/]+/[/]+/(?:issues|pull)/#{number}$} # rubocop:disable LineLength + pattern = %r{^https://github\.com/.+/.+/(?:issues|pull)/#{number}$} # rubocop:disable LineLength expect(issue[:url]).to match(pattern) end end it 'has a colon and a whitespace at the end' do