RailsApps/rails3-devise-rspec-cucumber — Issue #20: cucumber failing in 'user signs up with valid data' scenerio
Author: debugging
Created: 2012-01-09 02:45:50+00:00
State: open

``` When I sign up with valid user data # features/step_definitions/user_steps.rb:47
Couldn't find User with id=sign_out (ActiveRecord::RecordNotFound)
./app/controllers/users_controller.rb:5:in `show'
(eval):2:in `send'
(eval):2:in `click_button'
./features/step_definitions/user_steps.rb:13:in `sign_up'
./features/step_definitions/user_steps.rb:48:in `/^I sign up with valid user data$/'
features/users/sign_up.feature:10:in `When I sign up with valid user data'
```

It is as if the sign_out route isn't mapped correctly, but if I go to http://127.0.0.1:3000/users/sign_out it works fine and redirects to sign_in.

Any ideas what this could be?