Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
- markup of component has changed, so test was failing
  • Loading branch information
andysellick committed Jan 7, 2025
1 parent 46d05f9 commit 6eb458a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/organisation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
it "displays if present" do
visit "/government/organisations/attorney-generals-office"
expect(page).to have_css("section#org-contacts")
expect(page).to have_css("h2.gem-c-heading", text: "Contact AGO")
expect(page).to have_css(".gem-c-heading h2", text: "Contact AGO")
expect(page).to have_content(/102 Petty France/i)
expect(page).to have_content(/London/i)
expect(page).to have_content(/SW1H 9EA/i)
Expand Down

0 comments on commit 6eb458a

Please sign in to comment.