lib/rubocop/cop/rspec/be.rb in rubocop-rspec-2.0.0 vs lib/rubocop/cop/rspec/be.rb in rubocop-rspec-2.0.1
- old
+ new
@@ -18,10 +18,10 @@
# expect(foo).to be_truthy
# expect(foo).to be 1.0
# expect(foo).to be(true)
#
class Be < Base
- MSG = 'Don\'t use `be` without an argument.'
+ MSG = "Don't use `be` without an argument."
def_node_matcher :be_without_args, <<-PATTERN
(send _ #Runners.all $(send nil? :be))
PATTERN