-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e39cf48
commit 3f8ac12
Showing
2 changed files
with
0 additions
and
28 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
app/controllers/sac_cas/devise/hitobito/passwords_controller.rb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,16 +25,4 @@ | |
expect(user.wso2_legacy_password_salt).to be_nil | ||
end | ||
end | ||
|
||
describe "#post" do | ||
it "does not tell if email exists in db in flash message when it does not exist" do | ||
post :create, params: {person: {email: user.email}} | ||
expect(flash[:notice]).to eq "Wenn uns die angegebene E-Mail-Adresse bekannt ist, solltest du in den nächsten Minuten eine E-Mail erhalten, mit der du dein Passwort zurücksetzen kannst (bitte schaue auch in deinem Spam-Ordner nach)" | ||
end | ||
|
||
it "does not tell if email exists in db in flash message when it does not exist" do | ||
post :create, params: {person: {email: "[email protected]"}} | ||
expect(flash[:notice]).to eq "Wenn uns die angegebene E-Mail-Adresse bekannt ist, solltest du in den nächsten Minuten eine E-Mail erhalten, mit der du dein Passwort zurücksetzen kannst (bitte schaue auch in deinem Spam-Ordner nach)" | ||
end | ||
end | ||
end |