15 Jan 2012
Cucumber + Capybara + Sinatra
This post is not to provide a tutorial of how to combine those three awesome applications together, but it might stop you from scratching your head when the test cannot be run correctly.
- You need to have Sinatra in subclass style rather than classic style. Sinatra subclass-style
- This is quite importance, you might find some website that is using Spec. but you need to change it to be “RSpec” in order for it to work.
Til next time,
noppanit at 00:00