RCCraig/myflix — pull request #8 by RCCraig (2014-01-25 05:38:24+00:00)
Title: Mod8 completed

I'm getting 2 failures. Any advice would be helpful.

1) ForgotPasswordsController POST create with existing email sends out an emai
l to the email address
Failure/Error: post :create, email: "joe@example.com"
ActionView::Template::Error:
Missing host to link to! Please provide the :host parameter, set default_
url_options[:host], or set :only_path to true
# ./app/views/app_mailer/send_forgot_password.html.haml:5:in `_app_views_ap
p_mailer_send_forgot_password_html_haml___298142604_93060520'
# ./app/mailers/app_mailer.rb:9:in `send_forgot_password'
# ./app/controllers/forgot_passwords_controller.rb:5:in `create'
# ./spec/controllers/forgot_passwords_controller_spec.rb:24:in `block (4 le
vels) in '

2) ForgotPasswordsController POST create with existing email redirect to the f
orgot password confirmation page
Failure/Error: post :create, email: "joe@example.com"
ActionView::Template::Error:
Missing host to link to! Please provide the :host parameter, set default_
url_options[:host], or set :only_path to true
# ./app/views/app_mailer/send_forgot_password.html.haml:5:in `_app_views_ap
p_mailer_send_forgot_password_html_haml___298142604_93060520'
# ./app/mailers/app_mailer.rb:9:in `send_forgot_password'
# ./app/controllers/forgot_passwords_controller.rb:5:in `create'
# ./spec/controllers/forgot_passwords_controller_spec.rb:19:in `block (4 le
vels) in '