Sha256: 2360980c4abd91eb3ae8b74bb330a372a37b21d7734eadcb5dbb434a3130251f

Contents?: true

Size: 542 Bytes

Versions: 6

Compression:

Stored size: 542 Bytes

Contents

# encoding: utf-8
require 'rubygems'
require 'bundler'
Bundler.setup
Bundler::GemHelper.install_tasks

require 'cucumber/rake/task'

Cucumber::Rake::Task.new do |t|
end

Cucumber::Rake::Task.new(:cucumber_wip) do |t|
  t.cucumber_opts = "-p wip"
end

require 'rspec/core/rake_task'
desc "Run RSpec"
RSpec::Core::RakeTask.new do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rspec_opts = ['--color', '--format nested']
end

desc "Run tests, both RSpec and Cucumber"
task :test => [:spec, :cucumber, :cucumber_wip]

task :default => :test

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
aruba-0.5.4 Rakefile
aruba-0.5.3 Rakefile
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/aruba-0.5.1/Rakefile
aruba-0.5.2 Rakefile
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/aruba-0.5.1/Rakefile
aruba-0.5.1 Rakefile