This example shows how to embedd cucumber+capybara(poltergeist)+rspec tests and devise authentication into your Rails3 application. See the features dir for more info.