From 81752befcb3d13d5839ea1a035c896d531b09fdf Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Wed, 30 Nov 2016 22:53:06 +0530 Subject: [PATCH] enable more tests --- debian/tests/spec.rake | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/debian/tests/spec.rake b/debian/tests/spec.rake index b6315d5b37..f5558daf8c 100644 --- a/debian/tests/spec.rake +++ b/debian/tests/spec.rake @@ -1,16 +1,36 @@ require 'gem2deb/rake/spectask' Gem2Deb::Rake::RSpecTask.new do |spec| - spec.pattern = FileList[ - 'spec/controllers/*_spec.rb', - 'spec/uploaders/*_spec.rb', - 'spec/routing/**/*_spec.rb', - 'spec/views/**/*_spec.rb', - 'spec/factories_spec.rb', - 'spec/finders/**/*_spec.rb' +# TODO: support, features + spec.pattern = FileList['spec/services/**/*_spec.rb', +'spec/config/**/*_spec.rb', +'spec/controllers/*_spec.rb', +'spec/factories_spec.rb', +'spec/finders/**/*_spec.rb' +'spec/routing/**/*_spec.rb', +'spec/tasks/**/*_spec.rb', +'spec/uploaders/*_spec.rb', +'spec/views/**/*_spec.rb', +'spec/workers/**/*_spec.rb', ] - FileList[ - 'spec/controllers/registrations_controller_spec.rb', - 'spec/controllers/health_check_controller_spec.rb', - 'spec/controllers/projects_controller_spec.rb' +'spec/services/notification_service_spec.rb', +'spec/services/git_push_service_spec.rb', +'spec/services/create_deployment_service_spec.rb', +'spec/services/ci/image_for_build_service_spec.rb', +'spec/services/ci/process_pipeline_service_spec.rb', +'spec/services/ci/send_pipeline_notification_service_spec.rb', +'spec/services/issues/close_service_spec.rb', +'spec/services/issues/update_service_spec.rb', +'spec/services/issues/update_service_spec.rb', +'spec/services/merge_requests/merge_service_spec.rb', +'spec/services/merge_requests/reopen_service_spec.rb', +'spec/services/merge_requests/update_service_spec.rb', +'spec/services/merge_requests/close_service_spec.rb', +'spec/services/merge_requests/merge_when_build_succeeds_service_spec.rb', +'spec/workers/*email*_spec.rb', +'spec/controllers/registrations_controller_spec.rb', +'spec/controllers/health_check_controller_spec.rb', +'spec/controllers/projects_controller_spec.rb' ] +# https://gitlab.com/gitlab-org/gitlab-ce/issues/25174 end