Sha256: 7235d2e8691b1ca18102cd9aca138366207ee40e95d4fe3cc83fa72df8c5df96
Contents?: true
Size: 623 Bytes
Versions: 3
Compression:
Stored size: 623 Bytes
Contents
require 'cucumber/rake/task' cucumber_options = proc do |t| t.binary = Merb.root / 'bin' / 'cucumber' end Cucumber::Rake::Task.new(:features, &cucumber_options) Cucumber::Rake::FeatureTask.new(:feature, &cucumber_options) namespace :merb_cucumber do task :test_env do Merb.start_environment(:environment => "test", :adapter => 'runner') end end <% if orm == :datamapper %> dependencies = ['merb_cucumber:test_env', 'db:automigrate'] task :features => dependencies task :feature => dependencies <% else %> task :features => 'merb_cucumber:test_env' task :feature => 'merb_cucumber:test_env' <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems