spec/rubocop/cop/rspec/expect_actual_spec.rb in rubocop-rspec-1.16.0 vs spec/rubocop/cop/rspec/expect_actual_spec.rb in rubocop-rspec-1.17.0
- old
+ new
@@ -138,10 +138,9 @@
context 'when inspecting rspec-rails routing specs' do
let(:cop_config) { {} }
it 'ignores rspec-rails routing specs' do
inspect_source(
- cop,
'expect(get: "/foo").to be_routeable',
'spec/routing/foo_spec.rb'
)
expect(cop.offenses).to be_empty