-
Notifications
You must be signed in to change notification settings - Fork 35
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 #3203 from alphagov/fix-missing-assertions
Fix missing assertions warning
- Loading branch information
Showing
9 changed files
with
30 additions
and
28 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 |
---|---|---|
|
@@ -276,7 +276,7 @@ class SignInTest < ActionDispatch::IntegrationTest | |
signin_with(email: "[email protected]", password: "some password with various $ymb0l$", second_step: false) | ||
click_link "Sign out" | ||
|
||
assert_text "Sign in to GOV.UK" | ||
assert assert_text "Sign in to GOV.UK" | ||
end | ||
|
||
should "not be able to access restricted paths before completing 2SV" do | ||
|
@@ -312,7 +312,7 @@ class SignInTest < ActionDispatch::IntegrationTest | |
|
||
should "not display a link to resend unlock instructions" do | ||
visit root_path | ||
assert_no_selector "a", text: "Didn't receive unlock instructions?" | ||
assert assert_no_selector "a", text: "Didn't receive unlock instructions?" | ||
end | ||
|
||
should "not be able to access the 2SV login page before logging in" do | ||
|
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