Sha256: 171de6818683a6f2fcc4a40872896d486c54e082ee88c86396a3147bdc644cff

Contents?: true

Size: 435 Bytes

Versions: 11

Compression:

Stored size: 435 Bytes

Contents

namespace :spec do
  desc "Run all specs"
  RSpec::Core::RakeTask.new(:normal) do |t|
    t.pattern = FileList['spec/**/*_spec.rb']
    t.rspec_opts = ["--colour", "--format", "documentation"]
  end

  desc "Run specs with rcov"
  RSpec::Core::RakeTask.new(:rcov) do |t|
    t.pattern = FileList['spec/**/*_spec.rb']
    t.rspec_opts = ["--colour", "--format", "documentation"]
    t.rcov = true
  end
end

task :spec => "spec:normal"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
resumetools-1.1.0 tasks/rspec.rake
resumetools-1.0.3 tasks/rspec.rake
resumetools-1.0.2 tasks/rspec.rake
resumetools-1.0.1 tasks/rspec.rake
resumetools-1.0.0 tasks/rspec.rake
resumetools-0.2.9.2 tasks/rspec.rake
resumetools-0.2.9.1 tasks/rspec.rake
resumetools-0.2.9.0 tasks/rspec.rake
resumetools-0.2.8.5 tasks/rspec.rake
resumetools-0.2.8.2 tasks/rspec.rake
resumetools-0.2.8 tasks/rspec.rake