mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Perform delivery when checking deliveries in specs
This commit is contained in:
@@ -33,6 +33,8 @@ feature "Managing users" do
|
||||
let(:user) { create :user, confirmed_at: nil }
|
||||
|
||||
it "displays success" do
|
||||
ActionMailer::Base.perform_deliveries = true
|
||||
|
||||
visit spree.edit_admin_user_path user
|
||||
|
||||
expect do
|
||||
|
||||
@@ -21,6 +21,8 @@ feature "Account Settings", js: true do
|
||||
end
|
||||
|
||||
it "allows the user to update their email address" do
|
||||
ActionMailer::Base.perform_deliveries = true
|
||||
|
||||
fill_in 'user_email', with: 'new@email.com'
|
||||
|
||||
expect do
|
||||
|
||||
@@ -71,6 +71,8 @@ feature "Authentication", js: true do
|
||||
end
|
||||
|
||||
scenario "Signing up successfully" do
|
||||
ActionMailer::Base.perform_deliveries = true
|
||||
|
||||
setup_email
|
||||
fill_in "Email", with: "test@foo.com"
|
||||
fill_in "Choose a password", with: "test12345"
|
||||
|
||||
Reference in New Issue
Block a user