lib/rubocop/cop/rspec/be.rb in rubocop-rspec-2.12.1 vs lib/rubocop/cop/rspec/be.rb in rubocop-rspec-2.13.0
- old
+ new
@@ -8,10 +8,9 @@
# The `be` matcher is too generic, as it pass on everything that is not
# nil or false. If that is the exact intend, use `be_truthy`. In all other
# cases it's better to specify what exactly is the expected value.
#
# @example
- #
# # bad
# expect(foo).to be
#
# # good
# expect(foo).to be_truthy