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 f782d36 commit 46f0a05Copy full SHA for 46f0a05
lib/rubocop/cop/rspec/named_subject.rb
@@ -46,10 +46,10 @@ class NamedSubject < Base
46
'to reference it explicitly.'
47
48
def_node_matcher :rspec_block?, <<-PATTERN
49
- {
50
- #{Examples::ALL.block_pattern}
51
- #{RuboCop::RSpec::Language.block_pattern('#rspec_hooks')}
52
- }
+ {
+ #{Examples::ALL.block_pattern}
+ #{RuboCop::RSpec::Language.block_pattern('#rspec_hooks')}
+ }
53
PATTERN
54
55
def_node_matcher :shared_example?, <<-PATTERN
0 commit comments