Skip to content

Commit

Permalink
Update spec/system/platoniq_footer_spec.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Fran Bolívar <[email protected]>
  • Loading branch information
HHassig and fblupi authored Jul 1, 2024
1 parent e3dd294 commit 039db74
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec/system/platoniq_footer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 039db74

Please sign in to comment.