Skip to content

Commit

Permalink
Fix test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yndajas committed Jun 28, 2024
1 parent fa48f49 commit d6e8341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/granting_permissions_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ class GrantingPermissionsTest < ActionDispatch::IntegrationTest
click_on "Update permissions for MyApp"
assert_current_url edit_user_application_permissions_path(user, app)

# the new permissions form exists
# the new permissions does not exist
assert_no_selector "#new_permission_id", visible: false

# the current permissions form does not exist
# the current permissions form exists
assert_selector "legend", text: "Current permissions"
assert_selector ".govuk-hint", text: "Clear the checkbox and save changes to remove a permission."
assert_selector ".govuk-button", text: "Update permissions"
Expand Down

0 comments on commit d6e8341

Please sign in to comment.