I've been neglecting these errors for a weeks because I don't know
what's going on. My environment is rspec, capybara and factory_girl
under Rails 3.1.3 and Ruby 1.9.2. I'm also using spork and guard but
this happens without them.
The mailer tests are failing because apparently the UrlHelper isn't
1) User delivers email to user
No route matches
# ./app/mailers/mailer.rb:11:in `password_reset'
# ./app/models/user.rb:34:in `send_password_reset'
# ./spec/models/user_spec.rb:12:in `block (2 levels) in <top
There is definitely a route for password_resets#edit
(resources :password_resets) and it works in development and
production, which is the confusing part. I think the tests aren't
configured correctly in my spec_helper.rb -- the gist for that is
While an outright answer would be nice, I'd like to get help on how to
go about investigating this kind of thing better. Thanks in advance.