Skip to content

Commit

Permalink
Merge pull request #2097 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 3c1f35b + fe5fc7c commit 546dcc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/views/admin/groups/remove.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
end

it 'has the "Remove" tab in an active state' do
expect(rendered).to have_selector('.nav-tabs .active a', text: 'Remove')
expect(rendered).to have_selector('.nav-tabs .nav-item a.nav-link.active', text: 'Remove')
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: 'Users')
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: 'Users')
end

it 'has a delete button' do
Expand Down

0 comments on commit 546dcc5

Please sign in to comment.