summaryrefslogtreecommitdiff
path: root/rubocop/cop/rspec/httparty_basic_auth.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/rspec/httparty_basic_auth.rb')
-rw-r--r--rubocop/cop/rspec/httparty_basic_auth.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/rspec/httparty_basic_auth.rb b/rubocop/cop/rspec/httparty_basic_auth.rb
index 529a5808662..c6b52ac9781 100644
--- a/rubocop/cop/rspec/httparty_basic_auth.rb
+++ b/rubocop/cop/rspec/httparty_basic_auth.rb
@@ -13,7 +13,7 @@ module RuboCop
# # good
# HTTParty.get(url, basic_auth: { username: 'foo' })
class HTTPartyBasicAuth < RuboCop::Cop::Cop
- MESSAGE = "`basic_auth: { user: ... }` does not work - replace `user:` with `username:`".freeze
+ MESSAGE = "`basic_auth: { user: ... }` does not work - replace `user:` with `username:`"
RESTRICT_ON_SEND = %i(get put post delete).freeze