Skip to content

Stacktrace on Jenkins spec fail shows error message twice #151

Open
@vonufryk

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?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions