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' ] - FileList[ 'spec/controllers/registrations_controller_spec.rb', 'spec/controllers/health_check_controller_spec.rb', 'spec/controllers/projects_controller_spec.rb' ] end