Describe the problem
When executing a spec using the power matcher I receive an error that appears to be contradictory.
Steps to reproduce the problem
Create a spec that uses the perform_power matcher.
Your code here to reproduce the issue
it "tests complexity" do
expect{request}.to perform_power
end
Actual behaviour
What happened? This could be a description, log output, error raised etc.
Failure/Error: expect{request}.to perform_power
expected block to perform power, but performed power
Expected behaviour
What did you expect to happen?
A passing test or a failing test stating the request did not perform power
Describe your environment
- OS version: macOS Big Sur 11.6
- Ruby version: 2.7.4
- RSpec::Benchmark version:
rspec-benchmark (0.6.0)
Describe the problem
When executing a spec using the power matcher I receive an error that appears to be contradictory.
Steps to reproduce the problem
Create a spec that uses the perform_power matcher.
Your code here to reproduce the issue
Actual behaviour
What happened? This could be a description, log output, error raised etc.
Expected behaviour
What did you expect to happen?
A passing test or a failing test stating the request did not perform power
Describe your environment
rspec-benchmark (0.6.0)