RailsApps/rails3-devise-rspec-cucumber — Issue #14: bin/rake cucumber encounters ActiveRecord exception
Author: bikle2
Created: 2011-10-16 07:56:21+00:00
State: open

Hello World.

I am working with this commit:

https://github.com/RailsApps/rails3-devise-rspec-cucumber/commit/8c1a712f7de4e1b6ffb5a7f2e45a577d14f0c4ca

I added 3 gems to the Gemfile:

gem 'pg'
gem "thin"
gem "heroku"

I enhanced the database.yml so I have this:
adapter: postgresql
instead of
adapter: sqlite3

I then tried this:

bundle exec rake cucumber

The first 2 scenarios pass.

The 3rd gives exception:

Couldn't find User with id=sign_out (ActiveRecord::RecordNotFound)
./app/controllers/users_controller.rb:5:in `show'

I'm not sure if this a bug in Devise or
RailsApps / rails3-devise-rspec-cucumber