enable more tests

This commit is contained in:
Praveen Arimbrathodiyil 2016-11-30 22:53:06 +05:30
parent e57dfd51b9
commit 81752befcb

View file

@ -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