lib/rubocop/cop/rspec/it_behaves_like.rb in rubocop-rspec-2.11.1 vs lib/rubocop/cop/rspec/it_behaves_like.rb in rubocop-rspec-2.12.0
- old
+ new
@@ -3,17 +3,17 @@
module RuboCop
module Cop
module RSpec
# Checks that only one `it_behaves_like` style is used.
#
- # @example when configuration is `EnforcedStyle: it_behaves_like`
+ # @example `EnforcedStyle: it_behaves_like` (default)
# # bad
# it_should_behave_like 'a foo'
#
# # good
# it_behaves_like 'a foo'
#
- # @example when configuration is `EnforcedStyle: it_should_behave_like`
+ # @example `EnforcedStyle: it_should_behave_like`
# # bad
# it_behaves_like 'a foo'
#
# # good
# it_should_behave_like 'a foo'