mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 00:51:37 +01:00
Use nil for timestamp column in admin/confirmations spec (#32682)
This commit is contained in:
parent
dc077437d5
commit
b107fc2e65
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ RSpec.describe Admin::ConfirmationsController do
|
||||||
|
|
||||||
describe 'POST #create' do
|
describe 'POST #create' do
|
||||||
it 'confirms the user' do
|
it 'confirms the user' do
|
||||||
user = Fabricate(:user, confirmed_at: false)
|
user = Fabricate(:user, confirmed_at: nil)
|
||||||
post :create, params: { account_id: user.account.id }
|
post :create, params: { account_id: user.account.id }
|
||||||
|
|
||||||
expect(response).to redirect_to(admin_accounts_path)
|
expect(response).to redirect_to(admin_accounts_path)
|
||||||
|
|
Loading…
Reference in a new issue