lib/rubocop/cop/rspec/be.rb in rubocop-rspec-2.2.0 vs lib/rubocop/cop/rspec/be.rb in rubocop-rspec-2.3.0
- old
+ new
@@ -20,9 +20,10 @@
# expect(foo).to be(true)
#
class Be < Base
MSG = "Don't use `be` without an argument."
+ # @!method be_without_args(node)
def_node_matcher :be_without_args, <<-PATTERN
(send _ #Runners.all $(send nil? :be))
PATTERN
def on_send(node)