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

fix test

as-op5a50df61cfff
diff --git a/spec/controllers/custom_styles_controller_spec.rb b/spec/controllers/custom_styles_controller_spec.rb
index 180f7f4f30c..a45d55fb5a3 100644
--- a/spec/controllers/custom_styles_controller_spec.rb
+++ b/spec/controllers/custom_styles_controller_spec.rb
@@ -528,8 +528,8 @@ RSpec.describe CustomStylesController do
post :update_export_cover_text_color, params:
end
- it 'renders 404' do
- expect(response).to have_http_status :not_found
+ it 'it is created' do
+ expect(response).to redirect_to action: :show
end
end
end