Sha256: 789ecee5af73982a0a505194583a00e636f882d1bd30f71506a4136b38d04e76

Contents?: true

Size: 484 Bytes

Versions: 4

Compression:

Stored size: 484 Bytes

Contents

require 'rubygems'
require 'test/unit'

require 'serum'

require 'redgreen' if RUBY_VERSION < '1.9'
require 'shoulda'
require 'rr'

include Serum

# Send STDERR into the void to suppress program output messages
STDERR.reopen(test(?e, '/dev/null') ? '/dev/null' : 'NUL:')

class Test::Unit::TestCase
  include RR::Adapters::TestUnit

  def source_dir(*subdirs)
    test_dir('source', *subdirs)
  end

  def test_dir(*subdirs)
    File.join(File.dirname(__FILE__), *subdirs)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
serum-0.3.2 test/helper.rb
serum-0.3.0 test/helper.rb
serum-0.2.0 test/helper.rb
serum-0.1.0 test/helper.rb