Sha256: 15d41f772235e8905ce291c69553f2c36dc2d31ece1602199641c3b7044e8527
Contents?: true
Size: 465 Bytes
Versions: 7
Compression:
Stored size: 465 Bytes
Contents
require 'spec' require 'spec/rake/spectask' namespace 'rspec' do FAST = FileList['spec/reek/**/*_spec.rb'] SLOW = FileList['spec/slow/**/*_spec.rb'] Spec::Rake::SpecTask.new('fast') do |t| t.spec_files = FAST t.ruby_opts = ['-Ilib'] t.rcov = false end Spec::Rake::SpecTask.new('all') do |t| t.spec_files = FAST + SLOW t.rcov = true t.rcov_dir = 'build/coverage' end end desc 'runs the unit tests' task 'spec' => 'rspec:fast'
Version data entries
7 entries across 7 versions & 2 rubygems