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.
精彩评论