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