When I run the test, shown this message:
Deprecation Warnings:
Using should from rspec-expectations' old :should syntax without explicitly enabling the syntax is deprecated. Use the new :expect syntax or explicitly enable :should with config.expect_with(:rspec) { |c| c.syntax = :should } instead. Called from /Users/daniel/proyectos/kata/gilded_rose_kata/gilded_rose_spec.rb:16:in `block (4 levels) in <top (required)>'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
config.raise_errors_for_deprecations!, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
When I run the test, shown this message:
Deprecation Warnings:
Using
should
from rspec-expectations' old:should
syntax without explicitly enabling the syntax is deprecated. Use the new:expect
syntax or explicitly enable:should
withconfig.expect_with(:rspec) { |c| c.syntax = :should }
instead. Called from /Users/daniel/proyectos/kata/gilded_rose_kata/gilded_rose_spec.rb:16:in `block (4 levels) in <top (required)>'.If you need more of the backtrace for any of these deprecations to identify where to make the necessary changes, you can configure
config.raise_errors_for_deprecations!
, and it will turn the deprecation warnings into errors, giving you the full backtrace.1 deprecation warning total