Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
owenatgov committed Sep 18, 2020
1 parent 1de8382 commit f4253a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/html_publication_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class HtmlPublicationTest < ActionDispatch::IntegrationTest
end

def assert_has_component_organisation_logo_with_brand(brand, index = 1)
within("li.organisation-logos__logo:nth-of-type(#{index})") do
within(".organisation-logos__logo:nth-of-type(#{index})") do
assert page.has_css?(".gem-c-organisation-logo.brand--#{brand}")
end
end
Expand Down

0 comments on commit f4253a2

Please sign in to comment.