Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Jan 18, 2024
1 parent 130c187 commit f42469b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/system/agenda_events_settings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let(:organization_logo) { Decidim::Dev.test_file("avatar.jpg", "image/jpeg") }
let(:footer_logo) { Decidim::Dev.test_file("avatar.jpg", "image/jpeg") }
let(:organization) { create(:organization, logo: organization_logo, official_img_footer: footer_logo, twitter_handler: "twitter", facebook_handler: "") }
let!(:admin) { create(:user, :admin, :confirmed, organization) }
let!(:admin) { create(:user, :admin, :confirmed, organization:) }
let!(:newsletter) { create(:newsletter, :sent, total_recipients: 1) }
let!(:content_block) do
create(:content_block,
Expand Down Expand Up @@ -151,7 +151,6 @@
expect(page).to have_content("Footer event title #{i}")
expect(page).to have_content("Footer event link #{i}")
end
expect(page).to have_link("a[href='http://www.example.org/footer']", count: 3)

expect(page).to have_css("img[src*='avatar.jpg']", count: 2)
expect(page).to have_css("img[src*='city.jpeg']", count: 1)
Expand Down

0 comments on commit f42469b

Please sign in to comment.