We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d187bb9 commit 60615d0Copy full SHA for 60615d0
.rubocop_todo.yml
@@ -73,12 +73,6 @@ RSpec/NamedSubject:
73
RSpec/NestedGroups:
74
Max: 5
75
76
-# Offense count: 1
77
-# This cop supports safe autocorrection (--autocorrect).
78
-Style/IfUnlessModifier:
79
- Exclude:
80
- - 'spec/spec_helper_acceptance_local.rb'
81
-
82
# Offense count: 1
83
Style/MixinUsage:
84
Exclude:
spec/spec_helper_acceptance_local.rb
@@ -120,9 +120,7 @@ def clear_temp_hieradata
120
121
RSpec::Matchers.define :contain_password do |password|
122
match do |user|
123
- if password == user.encrypted_password
124
- return true
125
- end
+ return true if password == user.encrypted_password
126
end
127
false
128
0 commit comments