Sha256: 1280470128a6ebed57748db4cf8bb41615f3daabaa6ca85d874f1dfcedd981dd

Contents?: true

Size: 666 Bytes

Versions: 1

Compression:

Stored size: 666 Bytes

Contents

require 'bundler'
require 'cucumber/rake/task'
Bundler::GemHelper.install_tasks

namespace :features do
  desc 'Downloads and adds vagrant box for testing.'
  task(:bootstrap) do
    system('bundle exec vagrant box add vagrant_exec http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box')
  end

  Cucumber::Rake::Task.new(:run) do |t|
    t.cucumber_opts = %w(--require feature --format pretty --format html --out results.html)
  end

  desc 'Removes testing vagrant box.'
  task(:cleanup) do
    system('bundle exec vagrant destroy -f')
    system('bundle exec vagrant box remove vagrant_exec virtualbox')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-exec-0.4.0 Rakefile