Skip to content

Commit

Permalink
Move feature to core
Browse files Browse the repository at this point in the history
  • Loading branch information
njaeggi authored and amaierhofer committed Jan 10, 2025
1 parent e39cf48 commit 3f8ac12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
16 changes: 0 additions & 16 deletions app/controllers/sac_cas/devise/hitobito/passwords_controller.rb

This file was deleted.

12 changes: 0 additions & 12 deletions spec/controllers/devise/hitobito/passwords_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3f8ac12

Please sign in to comment.