-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2474 from 18F/stages/rc-2018-08-30-patch-2
Deploy RC 65 patch 2 to Int
- Loading branch information
Showing
9 changed files
with
37 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,10 @@ def second_factor_locked_at | |
nil | ||
end | ||
|
||
def phone_configuration | ||
nil | ||
end | ||
|
||
def phone | ||
nil | ||
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
= render 'shared/failure', presenter: presenter | ||
p == presenter.warning_message | ||
|
||
= render 'idv/shared/failure_to_proof_url', presenter: presenter | ||
= render 'shared/failure_url', presenter: presenter | ||
|
||
.mt3 | ||
= link_to presenter.button_text, presenter.button_path, class: 'btn btn-primary btn-link' |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- if decorated_session.sp_name | ||
hr | ||
.mb2.mt2 | ||
.right = link_to image_tag(asset_url('carat-right.svg'), size: '10'), | ||
decorated_session.failure_to_proof_url, class: 'bold block btn-link text-decoration-none' | ||
- if request.path.starts_with?('/verify/') | ||
= link_to t('idv.failure.help.get_help_html', sp_name: decorated_session.sp_name), | ||
decorated_session.failure_to_proof_url, class: 'block btn-link text-decoration-none' | ||
- elsif decorated_session.sp_return_url | ||
= link_to t('links.back_to_sp', sp: decorated_session.sp_name), | ||
decorated_session.sp_return_url, class: 'block btn-link text-decoration-none' | ||
hr |
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 |
---|---|---|
|
@@ -9,5 +9,14 @@ | |
expect(response).to redirect_to(root_url) | ||
end | ||
end | ||
|
||
context 'email is present in flash' do | ||
it 'renders the show template' do | ||
allow(controller).to receive(:flash).and_return(email: '[email protected]') | ||
get :show | ||
|
||
expect(response).to render_template(:show) | ||
end | ||
end | ||
end | ||
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