Stacktrace on Jenkins spec fail shows error message twice #151
Open
Description
I'm not sure if this is a bug or how it should be implemented, but on Jenkins when I have fail spec, I see my custom error message for matcher doubled in stacktrace:
Error Message
Expected maximum calls fired not more 15....
Stacktrace
Expected maximum calls fired not more 15.
Expected: 15
Actual: 18
Test page: http://somepage.com/1/2/3 (RSpec::Expectations::ExpectationNotMetError)
Expected maximum calls fired not more 15.
Expected: 15
Actual: 18
Test page: http://somepage.com/1/2/3
./spec/support/calls_shared.rb:54:in `block (2 levels) in <top (required)>'
Standard Output
<my output>
Standard Error
Is that the correct behaviour?
If yes, how can I change it?