File: ruby-tests.rake

package info (click to toggle)
ruby-foreman 0.88.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 832 kB
  • sloc: ruby: 5,181; sh: 88; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
require 'gem2deb/rake/spectask'

# Ubuntu builders might not have TERM set which causes some test failures.
ENV["TERM"] = "xterm"

Gem2Deb::Rake::RSpecTask.new do |spec|
  spec.pattern = './spec/**/*_spec.rb'
  spec.exclude_pattern = './spec/foreman/export/**/*_spec.rb' if ENV['AUTOPKGTEST_TMP']
  spec.rspec_opts = '--format doc --backtrace --seed 47932'
end