mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Resend activation email was busted
This commit is contained in:
@@ -942,11 +942,7 @@ describe UsersController do
|
||||
|
||||
describe 'send_activation_email' do
|
||||
context 'for an existing user' do
|
||||
let(:user) { Fabricate(:user) }
|
||||
|
||||
before do
|
||||
UsersController.any_instance.stubs(:fetch_user_from_params).returns(user)
|
||||
end
|
||||
let(:user) { Fabricate(:user, active: false) }
|
||||
|
||||
context 'with a valid email_token' do
|
||||
it 'should send the activation email' do
|
||||
|
||||
Reference in New Issue
Block a user