lib/rubocop/cop/rspec/shared_context.rb in rubocop-rspec-1.32.0 vs lib/rubocop/cop/rspec/shared_context.rb in rubocop-rspec-1.33.0
- old
+ new
@@ -50,13 +50,13 @@
# end
# end
#
class SharedContext < Cop
MSG_EXAMPLES = "Use `shared_examples` when you don't "\
- 'define context.'.freeze
+ 'define context.'
MSG_CONTEXT = "Use `shared_context` when you don't "\
- 'define examples.'.freeze
+ 'define examples.'
examples = (Examples::ALL + Includes::EXAMPLES)
def_node_search :examples?, examples.send_pattern
context = (Hooks::ALL + Helpers::ALL + Includes::CONTEXT + Subject::ALL)