diff --git a/spec/views/admin/groups/users.html.erb_spec.rb b/spec/views/admin/groups/users.html.erb_spec.rb
index 9cfd94656..b8d095abd 100644
--- a/spec/views/admin/groups/users.html.erb_spec.rb
+++ b/spec/views/admin/groups/users.html.erb_spec.rb
@@ -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