diff --git a/spec/system/conferences_with_image_spec.rb b/spec/system/conferences_with_image_spec.rb index 97e0d57..f52e308 100644 --- a/spec/system/conferences_with_image_spec.rb +++ b/spec/system/conferences_with_image_spec.rb @@ -4,8 +4,8 @@ describe "Conference with images", type: :system do let(:organization) { create :organization } - 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, short_description: short_description } + 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, short_description: short_description } before do switch_to_host(organization.host)