Sha256: dd1bf1e5a37c791016da1cb9e8606a7a5cab0d8e1cfc67796b1494ded1bd99a8

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 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.t.cucumber_opts = %w{$1}--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

3 entries across 3 versions & 1 rubygems

Version Path
aslakhellesoy-cucumber-0.3.3.3 rails_generators/cucumber/templates/cucumber.rake
aslakhellesoy-cucumber-0.3.3.4 rails_generators/cucumber/templates/cucumber.rake
aslakhellesoy-cucumber-0.3.3.5 rails_generators/cucumber/templates/cucumber.rake