|
|
|
@ -27,7 +27,7 @@ RSpec.describe Auth::PasswordsController, type: :request do
|
|
|
|
|
|
|
|
|
|
context "when a password reset is requested with an email that doesn't exist in the system" do |
|
|
|
|
before do |
|
|
|
|
allow_any_instance_of(described_class).to receive(:is_navigational_format?).and_return(false) |
|
|
|
|
allow(Devise.navigational_formats).to receive(:include?).and_return(false) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
let(:email) { "madeup_email@test.com" } |
|
|
|
|