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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix expected response in export
Oliver Günther2d61cb92be20
diff --git a/spec/controllers/work_packages_controller_spec.rb b/spec/controllers/work_packages_controller_spec.rbindex c34072be740..e6f24a3673d 100644--- a/spec/controllers/work_packages_controller_spec.rb+++ b/spec/controllers/work_packages_controller_spec.rb@@ -176,14 +176,13 @@ describe WorkPackagesController, type: :controller doallow(service_instance).to receive(:call).with(query: query, mime_type: mime_type.to_sym, params: anything)- .and_return(ServiceResult.new(result: export_storage))+ .and_return(ServiceResult.new(result: 'uuid of the export job'))endit 'should fulfill the defined should_receives' docall_action- expect(response)- .to redirect_to(work_packages_export_path(export_storage.id))+ expect(response.body).to eq 'uuid of the export job'endendend