From da64cc204242171d6874404fce593b4375bdd991 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Mon, 3 Feb 2020 13:25:25 +0900 Subject: [PATCH] Fix a typo --- spec/rubocop/cop/rails/http_positional_arguments_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rubocop/cop/rails/http_positional_arguments_spec.rb b/spec/rubocop/cop/rails/http_positional_arguments_spec.rb index 5c0803cfa3..5fe78b7bcd 100644 --- a/spec/rubocop/cop/rails/http_positional_arguments_spec.rb +++ b/spec/rubocop/cop/rails/http_positional_arguments_spec.rb @@ -113,7 +113,7 @@ RUBY end - it 'registers an offense for get method with `:to` option' do + it 'does not register an offense for get method with `:to` option' do expect_no_offenses(<<~RUBY) get '/test', to: 'admin/admin#test' RUBY