mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Explicitly set confirmed_at for unconfirmed enterprise
This commit is contained in:
@@ -3,7 +3,7 @@ require 'spec_helper'
|
||||
describe Devise::ConfirmationsController do
|
||||
context "after confirmation" do
|
||||
before do
|
||||
e = create(:enterprise)
|
||||
e = create(:enterprise, confirmed_at: nil)
|
||||
@request.env["devise.mapping"] = Devise.mappings[:enterprise]
|
||||
spree_get :show, confirmation_token: e.confirmation_token
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user