From 72180016c5459bf2f5e1f97ff53c995ea7412a52 Mon Sep 17 00:00:00 2001 From: Jeremy Friesen Date: Thu, 21 Dec 2023 08:42:50 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Fix=20spec=20based=20on=20HTML?= =?UTF-8?q?=20class=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/views/admin/groups/users.html.erb_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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