0
我发现spork-test单元与摩卡模拟/存根故障。 但是,如果我运行没有spork的相同测试,它工作正常,所有测试通过。spork-test单元与摩卡故障
它给出了如下错误。
1) Failure:
....
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, not yet invoked: #<AnyInstance:User(id: integer, ...
有没有人有过相同的经历?