briandunn / flatware

A parallel test runner for RSpec and Cucumber with pretty output
MIT License
256 stars 35 forks source link

Colate rspec deprecation warnings #50

Closed bdvineti closed 3 years ago

bdvineti commented 4 years ago

Given a deprecated rspec method is used Then I should see that deprecation warning at the end of the run And I should not see that deprecation warning printed out in the middle of the run

Deprecation Warnings:

Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /Users/brian.dunn/hashrocket/vineti-platform/platform/spec/controllers/v1/login_controller_spec.rb:16:in `block (3 levels) in <main>'.

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