Sha256: 634480e94af88260b6850fc841c87281c45a4621ad8e39249a789d28d73b3d0f
Contents?: true
Size: 481 Bytes
Versions: 45
Compression:
Stored size: 481 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.cucumber_opts = "--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
45 entries across 45 versions & 7 rubygems