Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Sep 6, 2024
1 parent f581385 commit d42d6cb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/features/avo/breadcrumbs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
visit url

# Find the breadcrumbs container
breadcrumbs = find('.breadcrumbs')
breadcrumbs = find(".breadcrumbs")

# Verify that the text includes all breadcrumbs
expect(breadcrumbs).to have_text('Home')
expect(breadcrumbs).to have_text('Projects')
expect(breadcrumbs).to have_text("Home")
expect(breadcrumbs).to have_text("Projects")
expect(breadcrumbs).to have_text(project.name)
expect(breadcrumbs).to have_text('Edit')
expect(breadcrumbs).to have_text("Edit")

# Ensure the breadcrumbs are in the correct order
expect(breadcrumbs.text).to match(/Home.*Projects.*#{project.name}.*Edit/)
Expand All @@ -34,10 +34,10 @@
visit url

# Find the breadcrumbs container
breadcrumbs = find('.breadcrumbs')
breadcrumbs = find(".breadcrumbs")

# Verify that the text includes all breadcrumbs
expect(breadcrumbs).to have_text('Home')
expect(breadcrumbs).to have_text("Home")

# Ensure the breadcrumbs are in the correct order
expect(breadcrumbs.text).to match(/Home/)
Expand Down

0 comments on commit d42d6cb

Please sign in to comment.