Sha256: 01873820b850c4127da0f5680e9f38a0f9fb7b01671bc5f9f22506323398d7e8

Contents?: true

Size: 501 Bytes

Versions: 6

Compression:

Stored size: 501 Bytes

Contents

$LOAD_PATH.unshift(RAILS_ROOT + '/vendor/plugins/cucumber/lib') if File.directory?(RAILS_ROOT + '/vendor/plugins/cucumber/lib')

begin
  require 'cucumber/rake/task'

  Cucumber::Rake::Task.new(:features) do |t|
    t.fork = true
    t.cucumber_opts = %w{--format pretty}
  end
  task :features => 'db:test:prepare'
rescue LoadError
  desc 'Cucumber rake task not available'
  task :features do
    abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
aslakhellesoy-cucumber-0.3.3.6 rails_generators/cucumber/templates/cucumber.rake
aslakhellesoy-cucumber-0.3.4 rails_generators/cucumber/templates/cucumber.rake
aslakhellesoy-cucumber-0.3.5 rails_generators/cucumber/templates/cucumber.rake
cucumber-0.3.4 rails_generators/cucumber/templates/cucumber.rake
cucumber-0.3.6 rails_generators/cucumber/templates/cucumber.rake
cucumber-0.3.5 rails_generators/cucumber/templates/cucumber.rake