mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 05:04:03 +00:00
Fix the test failures
This commit is contained in:
parent
50e876dd6f
commit
e85ecede4c
29 changed files with 232 additions and 232 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue