阅读背景:

尝试使用RSpec模拟API类

来源:互联网 

I'm trying to learn how to use RSpec to test that my create_price_type_cache method on the Setting class is being called by the API class instance. I've tried a number of approaches I've googled, but I figure out how to do this, or even if I should write my API class differently.I'm trying to learn how to use RSpec to test th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: