Skip to content

Ordered should_receive expectations with recurring arguments fail #20

@severinraez

Description

@severinraez
a = flexmock 'a'
a.should_receive(:foo).with(1).ordered
a.should_receive(:foo).with(2).ordered
a.should_receive(:foo).with(1).ordered

a.foo 1
a.foo 2
a.foo 1

Will fail (@1.3.3). Is it supposed to?
I am currently working around this using the should_expect syntax.

Cheers, Severin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions