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