Browse Source

removed hidden field in the table

pull/627/head
JG 3 years ago
parent
commit
52a2c5cf2d
  1. 2
      spec/requests/organisations_controller_spec.rb

2
spec/requests/organisations_controller_spec.rb

@ -132,8 +132,6 @@ RSpec.describe OrganisationsController, type: :request do
end
it "shows only active users in the current user's organisation" do
expected_case_row_log = "<span class=\"govuk-visually-hidden\">User </span>#{user.id}"
unauthorized_case_row_log = "<span class=\"govuk-visually-hidden\">User </span>#{other_org_user.id}"
expect(page).to have_content(user.name)
expect(page).to have_content(other_user.name)
expect(page).to have_content(inactive_user.name)

Loading…
Cancel
Save