Use nil for timestamp column in admin/confirmations spec (#32682)

pull/32709/head
Matt Jankowski 2 months ago committed by GitHub
parent dc077437d5
commit b107fc2e65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,7 +11,7 @@ RSpec.describe Admin::ConfirmationsController do
describe 'POST #create' 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 }
expect(response).to redirect_to(admin_accounts_path)

Loading…
Cancel
Save