开发者

Factories with sinatra and rspec possible?

I wondered if anyone had any success with us开发者_如何学Cing any of the facorty testing tools out there with Sinatra, Sequel and RSpec?


You can take a look at Rstat.us on Github. We're using Factory Girl with Sinatra. Although we are using MiniTest instead of RSpec. Maybe you can take something away from looking at it.


You mean like machinist or factory girl?

Yes, but what are you after specifically? Not really any different to setting up data using fixtures or using helpers in your code in practice.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜