spork testunit与摩卡一起失败
我发现spork测试单元使用mocha模拟/存根失败。 但是,如果我在没有spork的情况下运行相同的测试,它工作良好,并且所有测试都通过 它给出如下错误spork testunit与摩卡一起失败,spork,Spork,我发现spork测试单元使用mocha模拟/存根失败。 但是,如果我在没有spork的情况下运行相同的测试,它工作良好,并且所有测试都通过 它给出如下错误 1) Failure: .... not all expectations were satisfied unsatisfied expectations: - expected exactly once, not yet invoked: #<AnyInstance:User(id: integer, ... 有没有人有同样的经历
1) Failure:
....
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, not yet invoked: #<AnyInstance:User(id: integer, ...
有没有人有同样的经历
看起来彼此不太合拍,但我会试试这个