From 5b77739fae5e263ccbbf2f6ea987d15c21847fd2 Mon Sep 17 00:00:00 2001 From: Harrison Hassig Date: Thu, 8 Aug 2024 13:58:33 +0200 Subject: [PATCH] :conferences as manifest_name --- spec/system/conferences_with_image_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/system/conferences_with_image_spec.rb b/spec/system/conferences_with_image_spec.rb index 336b36e..91cf73e 100644 --- a/spec/system/conferences_with_image_spec.rb +++ b/spec/system/conferences_with_image_spec.rb @@ -5,11 +5,11 @@ describe "Conference with images", type: :system do include_context "with a component" - let(:manifest_name) { "conferences" } - let!(:organization) { create :organization } + let(:organization) { create :organization } + let(:manifest_name) { :conferences } let(:slug) { "bla-bla" } let(:short_description) { { en: "

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, slug: slug, registrations_enabled: true, component: component, short_description: short_description } + let(:conference) { create :conference, organization: organization, slug: slug, registrations_enabled: true, component: component, short_description: short_description } let(:user) { create(:user, :confirmed, organization: organization) } before do