Loosely based on http://railsapps.github.io/tutorial-rails-devise-rspec-cucumber.html