Permalink
Browse files

Improve deprecation warning.

  • Loading branch information...
1 parent 69954e9 commit fd78578d0d65a7917701c4410a0eb9089ee6636f @myronmarston myronmarston committed Sep 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.