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.
around
1 parent c3b99d3 commit 4c6beecCopy full SHA for 4c6beec
spec/rubocop/cop/rspec/hook_argument_spec.rb
@@ -81,6 +81,7 @@
81
expect_no_offenses(<<-RUBY)
82
before { true }
83
after { true }
84
+ around { true }
85
config.before { true }
86
RUBY
87
end
@@ -120,6 +121,8 @@
120
121
^^^^^^ Use `:each` for RSpec hooks.
122
123
^^^^^ Use `:each` for RSpec hooks.
124
125
+ ^^^^^^ Use `:each` for RSpec hooks.
126
127
128
@@ -160,6 +163,8 @@
160
163
^^^^^^ Use `:example` for RSpec hooks.
161
164
162
165
^^^^^ Use `:example` for RSpec hooks.
166
167
+ ^^^^^^ Use `:example` for RSpec hooks.
168
169
170
0 commit comments