Skip to content

Commit

Permalink
Fixing nav link selectors to new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyf committed Dec 20, 2023
1 parent 8ca1257 commit fe5fc7c
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 fe5fc7c

Please sign in to comment.