bernd/cucumber-sinatra — pull request #5 by rebelwarrior (2013-06-11 15:10:14+00:00)
Title: Adding a expectation that the return code will be 200

Hi,
I'm not sure you can include rspec raw on the step definitions but if you can, it would be a good idea to add this line:

expect(page.status_code).to eq(200)

to the 'I am on "page_name" ' step definition as this is usually used on given steps and you would like to know if there was an error finding this page.