Skip to content

Commit

Permalink
Fix expected text in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
entantoencuanto committed Nov 28, 2023
1 parent 12c4407 commit 8d34e1a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions spec/system/menu_hacks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@

it "active link containts text" do
within "#breadcrumb-main-dropdown-desktop .menu-bar__main-dropdown__menu .active" do

expect(page).to have_content(text)
end
end
Expand Down Expand Up @@ -256,7 +255,7 @@
find_by_id("main-dropdown-summary").hover
end

it_behaves_like "has active link", "Processes"
it_behaves_like "has active link", "A new beggining"
end

context "when visiting a process in a custom link" do
Expand All @@ -283,7 +282,7 @@
find_by_id("main-dropdown-summary").hover
end

it_behaves_like "has active link", "Processes"
it_behaves_like "has active link", "A new beggining"
end

context "when visiting a sublink of a process not in a custom link" do
Expand All @@ -292,7 +291,7 @@
find_by_id("main-dropdown-summary").hover
end

it_behaves_like "has active link", "Processes"
it_behaves_like "has active link", "A new beggining"
end
end

Expand Down

0 comments on commit 8d34e1a

Please sign in to comment.