Sha256: 7685eb8bfba027f0127bc8064f19f09546bf727b445502c6d58693234ab7b787
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
require 'rake' require 'rake/tasklib' require 'cucumber' require 'cucumber/rake/task' module OpenHood module Rake class CucumberTask < ::Cucumber::Rake::Task def initialize(name=:features) super(name) do |t| t.fork = true opts = [] opts << ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty'), '-r', 'features'] t.cucumber_opts = opts.join(" ") end end end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
openhood-sinatra_rake_tasks-0.1.0 | lib/openhood/rake/cucumber.rb |
openhood-sinatra_rake_tasks-0.1.1 | lib/openhood/rake/cucumber.rb |
sinatra_rake_tasks-0.2.0 | lib/openhood/rake/cucumber.rb |