-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove harcoded "Login.gov" and switch to interpolation (#10580)
- Updates i18n_spec to correctly iterate over arrays - Updates i18n_spec to handle new flatter files changelog: Internal, Source code, Update internationalization specs
- Loading branch information
1 parent
a79bba6
commit 10ae312
Showing
7 changed files
with
75 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
require 'rails_helper' | ||
|
||
RSpec.describe 'idv/mail_only_warning/show.html.erb' do | ||
before do | ||
allow(view).to receive(:step_indicator_steps).and_return([]) | ||
allow(view).to receive(:current_sp).and_return(nil) | ||
|
||
allow(view).to receive(:exit_url).and_return('/exit_url') | ||
end | ||
|
||
it 'lists options with correct interpolation' do | ||
render | ||
|
||
expect(rendered).to include(APP_NAME) | ||
end | ||
end |