lib/rubocop/cop/rspec/context_wording.rb in rubocop-rspec-1.20.0 vs lib/rubocop/cop/rspec/context_wording.rb in rubocop-rspec-1.20.1
- old
+ new
@@ -6,14 +6,16 @@
# `context` block descriptions should start with 'when', or 'with'.
#
# @see https://github.com/reachlocal/rspec-style-guide#context-descriptions
# @see http://www.betterspecs.org/#contexts
#
- # @example `Prefixes` configuration option, defaults: 'when', and 'with'
+ # @example `Prefixes` configuration option, defaults: 'when', 'with', and
+ # 'without'
# Prefixes:
# - when
# - with
# - without
+ # - if
#
# @example
# # bad
# context 'the display name not present' do
# ...