From 039db74fc17e3ca261acfa4fae547fa6e32da136 Mon Sep 17 00:00:00 2001 From: Harrison Hassig Date: Mon, 1 Jul 2024 12:23:53 +0200 Subject: [PATCH] Update spec/system/platoniq_footer_spec.rb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fran Bolívar --- spec/system/platoniq_footer_spec.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/system/platoniq_footer_spec.rb b/spec/system/platoniq_footer_spec.rb index 3ec4c1b..9a09705 100644 --- a/spec/system/platoniq_footer_spec.rb +++ b/spec/system/platoniq_footer_spec.rb @@ -2,10 +2,11 @@ require "rails_helper" -describe "Visit the home page", perform_enqueued: true do +describe "Has Platoniq footer", perform_enqueued: true do include_context "when visiting organization homepage" - it "renders the home page" do - expect(page).to have_content("Home") + it "renders the platoniq logo in the footer" do + expect(page).to have_content("Made with ♥ by") + expect(page).to have_xpath("//img[@alt='Platoniq Foundation - Creativity and Democracy']") end end