diff --git a/app/views/decidim/conferences/conferences/show.html.erb b/app/views/decidim/conferences/conferences/show.html.erb index f228280..bfcb920 100644 --- a/app/views/decidim/conferences/conferences/show.html.erb +++ b/app/views/decidim/conferences/conferences/show.html.erb @@ -20,12 +20,12 @@ edit_link(
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
" } } + let!(:conference) { create :conference, organization: organization, short_description: short_description } + + before do + switch_to_host(organization.host) + page.visit "/conferences/#{conference.slug}" + end + + it "shows the image" do + within "#content" do + expect(page).to have_xpath("//img[contains(@src,'favicon.ico')]") + end + end +end