I was following a tutorial(The rails 3 way) on how to use Devise.
However, I got stuck trying to make my email feature pass. When a user
clicks a confirmation link in his/her inbox, They should be re-
directed to the application and the account should be confirmed.
However, this doesn't seem to work. I keep getting the error below
when I run my tests. Can anyone please help me with this?
Error..
expected there to be content "Your account was successfully confirmed"
in "\t\n\t \tTicketee\n\t\n\tSign up\n\t\tSign in\n\tTicketee
\nResend confirmation instructions\n\n\n \n 1 error
prohibited this user from being saved:\n Confirmation token is
invalid\n\n\n Email\n\n \n\n Sign inSign upForgot your
password?" (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:107:in `/^(?:|I )should
see "([^"]*)"$/'
features/signing_in.feature:12:in `Then I should see "Your
account was successfully confirmed"'