Sha256: 49e59cbb4c2e28fb8a3236414af38e7e08d332184af478140b98b21cf20487bc
Contents?: true
Size: 717 Bytes
Versions: 1
Compression:
Stored size: 717 Bytes
Contents
require 'appraisal' require 'bundler/gem_tasks' require 'bundler/setup' require 'rake/testtask' require_relative 'test/support/tests/current_bundle' Rake::TestTask.new('test:acceptance') do |t| t.libs << 'test' # t.ruby_opts += ['-w', '-r', './test/report_warnings'] t.ruby_opts += ['-w'] t.pattern = 'test/acceptance/**/*_test.rb' t.verbose = false end task :default do if Tests::CurrentBundle.instance.appraisal_in_use? sh 'rake test:acceptance --trace' else if ENV['CI'] exec "appraisal install && appraisal rake --trace" else appraisal = Tests::CurrentBundle.instance.latest_appraisal exec "appraisal install && appraisal #{appraisal} rake --trace" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoulda-3.6.0 | Rakefile |