Fix the test failures

This commit is contained in:
Sasi Olin 2022-03-30 12:39:01 +02:00
parent 50e876dd6f
commit e85ecede4c
29 changed files with 232 additions and 232 deletions

View file

@ -13,7 +13,7 @@ describe ConfirmationsController do
it 'confirms and signs in user' do
get :show, params: { confirmation_token: user.confirmation_token }
user.reload
expect(user.confirmed?).to eq true
expect(user.confirmed?).to be true
expect(controller.current_user).to eq user
end
end
@ -24,7 +24,7 @@ describe ConfirmationsController do
it 'confirms user' do
get :show, params: { confirmation_token: user.confirmation_token }
user.reload
expect(user.confirmed?).to eq true
expect(user.confirmed?).to be true
end
end
end