summaryrefslogtreecommitdiff
path: root/rubocop
diff options
context:
space:
mode:
authorVitali Tatarintev <vtatarintev@gitlab.com>2019-08-23 09:33:33 +0200
committerVitali Tatarintev <vtatarintev@gitlab.com>2019-08-28 08:43:47 +0200
commite1b8b93207ccbe3221f5c8e0447d17582f14a0db (patch)
treef9d46be91db76ebd88ffc22f0f5d7c8a53ab6023 /rubocop
parentd40b7ea37534e57d134b9a5e1268aa87d53c513d (diff)
downloadgitlab-ce-e1b8b93207ccbe3221f5c8e0447d17582f14a0db.tar.gz
Replace double quotes with single quotes
Diffstat (limited to 'rubocop')
-rw-r--r--rubocop/cop/rspec/be_success_matcher.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/rubocop/cop/rspec/be_success_matcher.rb b/rubocop/cop/rspec/be_success_matcher.rb
index 9ab344a3762..18bcfa6d582 100644
--- a/rubocop/cop/rspec/be_success_matcher.rb
+++ b/rubocop/cop/rspec/be_success_matcher.rb
@@ -26,7 +26,7 @@ module RuboCop
class BeSuccessMatcher < RuboCop::Cop::Cop
include SpecHelpers
- MESSAGE = "Don't use deprecated `success?` method, use `successful?` instead.".freeze
+ MESSAGE = 'Do not use deprecated `success?` method, use `successful?` instead.'.freeze
def_node_search :expect_to_be_success?, <<~PATTERN
(send (send nil? :expect (send nil? ...)) :to (send nil? :be_success))
@@ -49,7 +49,7 @@ module RuboCop
def autocorrect(node)
lambda do |corrector|
- corrector.insert_after(node.loc.expression, "ful")
+ corrector.insert_after(node.loc.expression, 'ful')
end
end
end