Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve deprecation warning.

  • Loading branch information...
commit fd78578d0d65a7917701c4410a0eb9089ee6636f 1 parent 69954e9
@myronmarston myronmarston authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rspec/mocks/syntax.rb
View
2  lib/rspec/mocks/syntax.rb
@@ -13,7 +13,7 @@ def self.warn_about_should!
def self.warn_unless_should_configured(method_name)
if @warn_about_should
RSpec.deprecate(
- "Using #{method_name} from the old `:should` syntax without explicitly enabling the syntax.",
+ "Using `#{method_name}` from the old `:should` syntax without explicitly enabling the syntax",
:replacement => "the new `:expect` syntax or explicitly enable `:should`"
)

0 comments on commit fd78578

Please sign in to comment.
Something went wrong with that request. Please try again.