Skip to content

Commit

Permalink
Fix URL
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Jan 13, 2023
1 parent 3592507 commit b57fa61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/process_group_landing_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
it "renders all elements" do
within "section.alternative-landing.extra-title" do
expect(page).to have_i18n_content(extra_title_block.settings.link_text_1)
expect(page).to have_selector("[href='#{extra_title_block.settings.link_url_1}']")
expect(page).to have_selector("[href='/link?external_url=#{CGI.escape(extra_title_block.settings.link_url_1)}']")
expect(page).to have_selector(".icon--instagram")
end
end
Expand Down

0 comments on commit b57fa61

Please sign in to comment.