Sha256: 1d0b281eed5fa90b1043b35bed0e7285fbbefeca97b7d393f810432ee3759f49

Contents?: true

Size: 587 Bytes

Versions: 7

Compression:

Stored size: 587 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|
  opts = defined?(JRUBY_VERSION) ? %w{--tags ~@jruby} : []
  opts += %w{--tags ~@fails-on-travis} if ENV['TRAVIS']
  t.cucumber_opts = opts 
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]

task :default => :test

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
aruba-0.5.0 Rakefile
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/aruba-0.4.11/Rakefile
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/aruba-0.4.11/Rakefile
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/aruba-0.4.11/Rakefile
ftl-0.2.0 vendor/bundle/gems/aruba-0.4.11/Rakefile
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/aruba-0.4.11/Rakefile
aruba-0.4.11 Rakefile