Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

test(export image): add spec support file

as-op287b489541a3
diff --git a/spec/factories/custom_style_factory.rb b/spec/factories/custom_style_factory.rb
index ca15872886f..a94538e7370 100644
--- a/spec/factories/custom_style_factory.rb
+++ b/spec/factories/custom_style_factory.rb
@@ -40,7 +40,7 @@ FactoryBot.define do
factory :custom_style_with_export_logo, class: 'CustomStyle' do
export_logo do
Rack::Test::UploadedFile.new(
- Rails.root.join('spec', 'support', 'custom_styles', 'logos', 'export_logo_image.png')
+ Rails.root.join('spec', 'support', 'custom_styles', 'export_logos', 'export_logo_image.png')
)
end
end
diff --git a/spec/support/custom_styles/export_logos/export_logo_image.png b/spec/support/custom_styles/export_logos/export_logo_image.png
new file mode 100644
index 00000000000..84e7b654057
Binary files /dev/null and b/spec/support/custom_styles/export_logos/export_logo_image.png differ