Skip to content

Commit

Permalink
Adjust token spec to account for heroicons
Browse files Browse the repository at this point in the history
  • Loading branch information
noracato committed Nov 5, 2024
1 parent 84f7053 commit 4594ef0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/components/identity/token/scope_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
end

it 'does not hide the scope from screen readers' do
expect(rendered).not_to have_css('[aria-hidden="true"]')

expect(rendered).not_to have_selector('div[aria-hidden="true"]')
end
end

Expand All @@ -25,7 +26,7 @@
end

it 'hides the scope from screen readers' do
expect(rendered).to have_css('[aria-hidden="true"]')
expect(rendered).to have_selector('div[aria-hidden="true"]')
end
end
end

0 comments on commit 4594ef0

Please sign in to comment.