Sha256: 351085c9e925efb53064b8a5cb1add7dda1d6a7812f3818f8a4bb387d75bb776

Contents?: true

Size: 573 Bytes

Versions: 159

Compression:

Stored size: 573 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 = ['--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

159 entries across 159 versions & 9 rubygems

Version Path
muck-raker-0.1.25 test/rails_root/lib/tasks/cucumber.rake
muck-raker-0.1.26 test/rails_root/lib/tasks/cucumber.rake
muck-shares-0.1.1 test/rails_root/lib/tasks/cucumber.rake
muck-shares-0.1.2 test/rails_root/lib/tasks/cucumber.rake
muck-shares-0.1.3 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.1.1 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.1.2 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.1.3 test/rails_root/lib/tasks/cucumber.rake
muck-comments-0.1.7 test/rails_root/lib/tasks/cucumber.rake
muck-comments-0.1.8 test/rails_root/lib/tasks/cucumber.rake
muck-comments-0.1.9 test/rails_root/lib/tasks/cucumber.rake
muck-blogs-0.1.1 test/rails_root/lib/tasks/cucumber.rake
muck-blogs-0.1.2 test/rails_root/lib/tasks/cucumber.rake
muck-blogs-0.1.3 test/rails_root/lib/tasks/cucumber.rake
muck-activities-0.1.17 test/rails_root/lib/tasks/cucumber.rake
muck-activities-0.1.18 test/rails_root/lib/tasks/cucumber.rake
muck-activities-0.1.19 test/rails_root/lib/tasks/cucumber.rake
muck-blogs-0.1.0 test/rails_root/lib/tasks/cucumber.rake
muck-shares-0.1.0 test/rails_root/lib/tasks/cucumber.rake