splitrb / split

:chart_with_upwards_trend: The Rack Based A/B testing framework
https://rubygems.org/gems/split
MIT License
2.71k stars 368 forks source link

Remove usage of deprecated implicit block expectation from specs #677

Closed andrehjr closed 2 years ago

andrehjr commented 2 years ago

For example:

  The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g  `expect { value }.to raise Exception` not `expect(value).to raise Exception`

Also configured rspec to raise deprecations as errors.