Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/passwords_controller_spec.rb')
-rw-r--r--spec/controllers/passwords_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/passwords_controller_spec.rb b/spec/controllers/passwords_controller_spec.rb
index 870907904..289fcd975 100644
--- a/spec/controllers/passwords_controller_spec.rb
+++ b/spec/controllers/passwords_controller_spec.rb
@@ -13,7 +13,7 @@ describe Devise::PasswordsController, type: :controller do
context "when there is no such user" do
it "succeeds" do
post :create, params: {user: {email: "foo@example.com"}}
- expect(response).to be_success
+ expect(response).to redirect_to(new_user_session_path)
end
it "doesn't send email" do