Skip to content
Extraits de code Groupes Projets
Valider 70dcc5be rédigé par Maxwell Salzberg's avatar Maxwell Salzberg
Parcourir les fichiers

rebased this branch onto master

parent 90458381
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -907,6 +907,7 @@ describe User do ...@@ -907,6 +907,7 @@ describe User do
fantasy_resque do fantasy_resque do
@invitation = Factory.create(:invitation, :sender => eve, :identifier => 'invitee@example.org', :aspect => eve.aspects.first) @invitation = Factory.create(:invitation, :sender => eve, :identifier => 'invitee@example.org', :aspect => eve.aspects.first)
end end
@invitation.reload @invitation.reload
@form_params = { @form_params = {
:invitation_token => "abc", :invitation_token => "abc",
...@@ -1003,6 +1004,8 @@ describe User do ...@@ -1003,6 +1004,8 @@ describe User do
user = Factory :user user = Factory :user
Resque.should_receive(:enqueue).with(Jobs::ResetPassword, user.id) Resque.should_receive(:enqueue).with(Jobs::ResetPassword, user.id)
user.send_reset_password_instructions user.send_reset_password_instructions
end
end
context "close account" do context "close account" do
before do before do
...@@ -1078,3 +1081,4 @@ describe User do ...@@ -1078,3 +1081,4 @@ describe User do
end end
end end
end end
end
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter