-
Notifications
You must be signed in to change notification settings - Fork 1
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
19fd4a6
commit 3c85cb8
Showing
24 changed files
with
73 additions
and
79 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
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
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
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 |
---|---|---|
|
@@ -6,15 +6,15 @@ | |
{ | ||
first_name: "Patricia", | ||
last_name: "Adebayo", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
}, | ||
{ first_name: "Mary", last_name: "Lawson", email: "[email protected]" }, | ||
{ | ||
first_name: "Colin", | ||
last_name: "Chapman", | ||
email: "[email protected]", | ||
support_user: true | ||
} | ||
support_user: true, | ||
}, | ||
].push((DEVELOPER_PERSONA if defined?(DEVELOPER_PERSONA))).compact.freeze | ||
|
||
PERSONA_EMAILS = PERSONAS.map { |persona| persona[:email] } |
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
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 |
---|---|---|
|
@@ -70,31 +70,31 @@ def then_i_see_persona_details_for_anne | |
page_has_persona_content( | ||
first_name: "Anne", | ||
last_name: "Wilson", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
) | ||
end | ||
|
||
def then_i_see_persona_details_for_patricia | ||
page_has_persona_content( | ||
first_name: "Patricia", | ||
last_name: "Adebayo", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
) | ||
end | ||
|
||
def then_i_see_persona_details_for_mary | ||
page_has_persona_content( | ||
first_name: "Mary", | ||
last_name: "Lawson", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
) | ||
end | ||
|
||
def then_i_see_persona_details_for_colin | ||
page_has_persona_content( | ||
first_name: "Colin", | ||
last_name: "Chapman", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
) | ||
end | ||
|
||
|
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 |
---|---|---|
|
@@ -85,31 +85,31 @@ def then_i_see_persona_details_for_anne | |
page_has_persona_content( | ||
first_name: "Anne", | ||
last_name: "Wilson", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
) | ||
end | ||
|
||
def then_i_see_persona_details_for_patricia | ||
page_has_persona_content( | ||
first_name: "Patricia", | ||
last_name: "Adebayo", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
) | ||
end | ||
|
||
def then_i_see_persona_details_for_mary | ||
page_has_persona_content( | ||
first_name: "Mary", | ||
last_name: "Lawson", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
) | ||
end | ||
|
||
def then_i_see_persona_details_for_colin | ||
page_has_persona_content( | ||
first_name: "Colin", | ||
last_name: "Chapman", | ||
email: "[email protected]" | ||
email: "[email protected]", | ||
) | ||
end | ||
|
||
|
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 |
---|---|---|
|
@@ -8,8 +8,8 @@ | |
"info" => { | ||
"first_name" => "Example", | ||
"last_name" => "User", | ||
"email" => "[email protected]" | ||
} | ||
"email" => "[email protected]", | ||
}, | ||
} | ||
DfESignInUser.begin_session!(session, omniauth_payload) | ||
|
||
|
@@ -18,9 +18,9 @@ | |
"dfe_sign_in_user" => { | ||
"first_name" => "Example", | ||
"last_name" => "User", | ||
"email" => "[email protected]" | ||
} | ||
} | ||
"email" => "[email protected]", | ||
}, | ||
}, | ||
) | ||
end | ||
end | ||
|
@@ -31,9 +31,9 @@ | |
"dfe_sign_in_user" => { | ||
"first_name" => "Example", | ||
"last_name" => "User", | ||
"email" => "[email protected]" | ||
"email" => "[email protected]", | ||
}, | ||
"service" => :placements | ||
"service" => :placements, | ||
} | ||
dfe_sign_in_user = DfESignInUser.load_from_session(session) | ||
|
||
|
@@ -53,9 +53,9 @@ | |
"dfe_sign_in_user" => { | ||
"first_name" => claims_user.first_name, | ||
"last_name" => claims_user.last_name, | ||
"email" => claims_user.email | ||
"email" => claims_user.email, | ||
}, | ||
"service" => :claims | ||
"service" => :claims, | ||
} | ||
|
||
dfe_sign_in_user = DfESignInUser.load_from_session(session) | ||
|
@@ -73,9 +73,9 @@ | |
"dfe_sign_in_user" => { | ||
"first_name" => placements_user.first_name, | ||
"last_name" => placements_user.last_name, | ||
"email" => placements_user.email | ||
"email" => placements_user.email, | ||
}, | ||
"service" => :placements | ||
"service" => :placements, | ||
} | ||
|
||
dfe_sign_in_user = DfESignInUser.load_from_session(session) | ||
|
@@ -91,9 +91,9 @@ | |
"dfe_sign_in_user" => { | ||
"first_name" => support_user.first_name, | ||
"last_name" => support_user.last_name, | ||
"email" => support_user.email | ||
"email" => support_user.email, | ||
}, | ||
"service" => :placements | ||
"service" => :placements, | ||
} | ||
|
||
dfe_sign_in_user = DfESignInUser.load_from_session(session) | ||
|
@@ -110,8 +110,8 @@ | |
"dfe_sign_in_user" => { | ||
"first_name" => "Example", | ||
"last_name" => "User", | ||
"email" => "[email protected]" | ||
} | ||
"email" => "[email protected]", | ||
}, | ||
} | ||
|
||
DfESignInUser.end_session!(session) | ||
|
Oops, something went wrong.