Sha256: 39e12cd591d8911874397851b7c871d10f84b69c94282c5db3bfbfbaf8d58bde

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

desc 'Alias to spec:spec'
task :spec => 'spec:all'

namespace :spec do
  require 'rspec/core/rake_task'

  desc "Run all specs"
  RSpec::Core::RakeTask.new(:all){|task|}

  desc "Run all non-failing specs (for CI)"
  RSpec::Core::RakeTask.new(:ci) do |task|
    ENV["EXCLUDE_DELIBERATELY_FAILING_SPECS"] = "1"
  end

  desc "Run specs with RCov"
  RSpec::Core::RakeTask.new(:rcov) do |t|
    t.rcov = true
    t.rcov_opts = ['--exclude', 'spec']
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
evented-spec-0.9.0 tasks/spec.rake
evented-spec-0.4.1 tasks/spec.rake