Sha256: 3720476fbbbb3a57053f0dfc42e56c0005982f346bda42a330bea6e07ab30673

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 Bytes

Contents

require "bundler/gem_tasks"
require 'ci/reporter/internal'
include CI::Reporter::Internal

namespace :generate do
  task :clean do
    rm_rf "acceptance/reports"
  end

  task :spinach do
    spinach = "#{Gem.loaded_specs['spinach'].gem_dir}/bin/spinach"
    run_ruby_acceptance "-I../../lib -rci/reporter/rake/spinach_loader -S #{spinach} -r ci_reporter -f acceptance/spinach/features"
  end

  task :all => [:clean, :spinach]
end

task :acceptance => "generate:all"

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:acceptance_spec) do |t|
  t.pattern = FileList['acceptance/verification_spec.rb']
  t.rspec_opts = "--color"
end
task :acceptance => :acceptance_spec

task :default => :acceptance

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ci_reporter_spinach-0.0.1 Rakefile