Sha256: ad5ba5b63dc925b71042e169051d35bfdc64d42b634e4ace2feb5dfb15752a86

Contents?: true

Size: 718 Bytes

Versions: 1

Compression:

Stored size: 718 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'rspec/core/rake_task'
require 'cucumber'
require 'cucumber/rake/task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.ruby_opts = "-I lib:spec"
  spec.pattern = 'spec/**/*_spec.rb'
end

namespace :spec do
  RSpec::Core::RakeTask.new(:html) do |spec|
    spec.ruby_opts = "-I lib:spec"
    spec.pattern = 'spec/**/*_spec.rb'
    spec.rspec_opts = "--format html --out #{ENV["SPEC_REPORT"] || "specs.html"}"
  end
end

task :spec

task :lib do
  $LOAD_PATH.unshift(File.expand_xpath("lib", File.dirname(__FILE__)))
end

task :default => :spec


namespace :features do
  Cucumber::Rake::Task.new(:watir, "Run features with Watir") do |t|
    t.profile = "watir"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
druid-ts-0.0.1 Rakefile