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-comments-0.1.21 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.2.27 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.2.26 test/rails_root/lib/tasks/cucumber.rake
muck-oauth-0.2.4 test/rails_root/lib/tasks/cucumber.rake
muck-oauth-0.2.3 test/rails_root/lib/tasks/cucumber.rake
muck-invites-0.1.12 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.2.25 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.2.24 test/rails_root/lib/tasks/cucumber.rake
overlord-0.1.22 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.2.23 test/rails_root/lib/tasks/cucumber.rake
muck-oauth-0.2.2 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.2.22 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.2.21 test/rails_root/lib/tasks/cucumber.rake
overlord-0.1.21 test/rails_root/lib/tasks/cucumber.rake
muck-oauth-0.2.1 test/rails_root/lib/tasks/cucumber.rake
muck-oauth-0.2.0 test/rails_root/lib/tasks/cucumber.rake
muck-invites-0.1.11 test/rails_root/lib/tasks/cucumber.rake
muck-contents-0.2.20 test/rails_root/lib/tasks/cucumber.rake
muck-oauth-0.1.11 test/rails_root/lib/tasks/cucumber.rake
muck-invites-0.1.10 test/rails_root/lib/tasks/cucumber.rake