Skip to content

Commit

Permalink
Merge pull request #2099 from samvera/hyrax-5-upgrade-fixing-nav-link…
Browse files Browse the repository at this point in the history
…-selectors

Fixing nav link selectors to new structure
  • Loading branch information
jeremyf authored Dec 21, 2023
2 parents 0444cf5 + 7218001 commit f44ed0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/views/admin/groups/users.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
end

it 'has the "users" tab in an active state' do
expect(rendered).to have_selector('.nav-tabs .active a', text: 'Users')
expect(rendered).to have_selector('.nav-tabs .nav-item a.nav-link.active', text: 'Users')
end

it 'has tabs for other actions on the group' do
expect(rendered).to have_selector('.nav-tabs li a', text: 'Description')
expect(rendered).to have_selector('.nav-tabs li a', text: 'Remove')
expect(rendered).to have_selector('.nav-tabs .nav-item a.nav-link', text: 'Description')
expect(rendered).to have_selector('.nav-tabs .nav-item a.nav-link', text: 'Remove')
end

it 'has a user search control' do
Expand Down

0 comments on commit f44ed0f

Please sign in to comment.