Sha256: a33da718c3d59c4da6f9e9ca7a72efbe4aa7c51624325ca24a2092f98f42d5ac

Contents?: true

Size: 582 Bytes

Versions: 8

Compression:

Stored size: 582 Bytes

Contents

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

unless ARGV.any? {|a| a =~ /^gems/}

begin
  require 'cucumber/rake/task'

  Cucumber::Rake::Task.new(:features) do |t|
    t.fork = true
    t.cucumber_opts = ['--drb', '--format', (ENV['CUCUMBER_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

end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
yhara-moneyrail-0.0.2 lib/tasks/cucumber.rake
moneyrail-0.1.6 lib/tasks/cucumber.rake
moneyrail-0.1.5 lib/tasks/cucumber.rake
moneyrail-0.1.4 lib/tasks/cucumber.rake
moneyrail-0.1.2 lib/tasks/cucumber.rake
moneyrail-0.1.1 lib/tasks/cucumber.rake
moneyrail-0.1.0 lib/tasks/cucumber.rake
moneyrail-0.0.2 lib/tasks/cucumber.rake