lib/rubocop/cop/rspec/implicit_expect.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/implicit_expect.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -7,18 +7,16 @@
#
# This cop can be configured using the `EnforcedStyle` option
# and supports the `--auto-gen-config` flag.
#
# @example `EnforcedStyle: is_expected` (default)
- #
# # bad
# it { should be_truthy }
#
# # good
# it { is_expected.to be_truthy }
#
# @example `EnforcedStyle: should`
- #
# # bad
# it { is_expected.to be_truthy }
#
# # good
# it { should be_truthy }