File: test_helper.rb

package info (click to toggle)
ruby-optimist 3.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 348 kB
  • sloc: ruby: 2,912; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 361 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

unless ENV['MUTANT']
  begin
  require "coveralls"
  Coveralls.wear! do
    add_filter '/test/'
  end
  rescue LoadError
  end
end

begin
  require "pry"
rescue LoadError
end

require 'minitest/autorun'

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }

require 'optimist'