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
- User delivers email to user
No route matches
_app_views_mailer_password_reset_text_erb__1662523378608014744_70180362078380' # ./app/mailers/mailer.rb:11:inpassword_reset’
send_password_reset' # ./spec/models/user_spec.rb:12:inblock (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.