Commit 2d2741e1

mo khan <mo@mokhan.ca>
2014-09-18 17:54:50
fix broken password reset feature spec.
1 parent 23507ee
Changed files (1)
app/controllers/passwords_controller.rb
@@ -5,7 +5,7 @@ class PasswordsController < ApplicationController
 
   def create
     PasswordReset.send_reset_instructions_to(params[:user][:email])
-    redirect_to new_session_path, notice: 'Password reset instructions have been emailed to you.'
+    redirect_to new_session_path, notice: t('devise.passwords.send_instructions')
   end
 
   def edit