Is there a way in RSpec to return the double object itself on doubles?

后端 未结 0 1428
栀梦
栀梦 2020-12-29 16:05

Is there an native way in RSpec to return the double object itself on doubles?

I\'m hoping for something like double(:relation, active: myself, in_batches: myse

相关标签:
回答
  • 消灭零回复
提交回复
热议问题