Skip to content

Commit

Permalink
delint context name in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Aug 16, 2024
1 parent 81eb264 commit 2465d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/accessibility_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

ALL_PAGES.each do |path|
describe "#{path} is accessible", :js, type: :feature do
context 'light mode' do
context 'when light mode' do
before do
visit(path)
page.execute_script('jtd.setTheme("light")')
Expand All @@ -57,7 +57,7 @@
include_context 'a11y tests'
end

context 'dark mode' do
context 'when dark mode' do
before do
visit(path)
page.execute_script('jtd.setTheme("dark")')
Expand Down

0 comments on commit 2465d99

Please sign in to comment.