Skip to content

Commit

Permalink
rename to "Users" to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tunde-anddigital committed Jan 10, 2022
1 parent 27eb2ab commit 69cdc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/admin/user_admin_page_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
expect(current_path).to eq(admin_root_path)
active_nav = page.find_by_id("navigation").first("li.govuk-header__navigation-item--active")
title = page.find("h1")
expect(active_nav).to have_css("a[href='/admin/users']", visible: true, text: "Admin")
expect(active_nav).to have_css("a[href='/admin/users']", visible: true, text: "Users")
expect(title).to have_text("User administration")

expect(page).to have_link(href: "/admin/users/new", visible: true, text: "Add user")
Expand Down

0 comments on commit 69cdc92

Please sign in to comment.