-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a15457b
commit 36ee42d
Showing
3 changed files
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,7 +211,7 @@ | |
let(:email) { '[email protected]' } | ||
let(:gov_one_id) { '123' } | ||
|
||
context 'when user exists with email but no gov_one_id' do | ||
context 'with an existing user having an email but no gov_one_id' do | ||
let!(:user) { create(:user, email: email) } | ||
|
||
it 'updates the user gov_one_id' do | ||
|
@@ -220,7 +220,7 @@ | |
end | ||
end | ||
|
||
context 'when user exists with gov_one_id' do | ||
context 'with an existing user having a gov_one_id' do | ||
let!(:user) { create(:user, gov_one_id: gov_one_id) } | ||
|
||
it 'updates the user email' do | ||
|
@@ -229,7 +229,7 @@ | |
end | ||
end | ||
|
||
context 'when user does not exist' do | ||
context 'without an existing user' do | ||
let(:email) { '[email protected]' } | ||
let(:gov_one_id) { '321' } | ||
|
||
|