Sha256: fc8a150bf44dfe6cde01180cfd6dd677d59a598ef8cb9794045e1bfd2954597f

Contents?: true

Size: 421 Bytes

Versions: 8

Compression:

Stored size: 421 Bytes

Contents

gem "minitest"
require "minitest/autorun"
require "minitest/pride"
require "minitest/mock"
require "mocha/setup"

unit = File.expand_path('../../test/unit', __FILE__)
$LOAD_PATH.unshift(unit) unless $LOAD_PATH.include?(unit)

lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'larva_spawn'

class Minitest::Test
  def setup
    super
    Larva.mock!
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
larva-1.3.0 template/test/test_helper.rb
larva-1.2.0 template/test/test_helper.rb
larva-1.1.3 template/test/test_helper.rb
larva-1.1.2 template/test/test_helper.rb
larva-1.1.1 template/test/test_helper.rb
larva-1.1.0 template/test/test_helper.rb
larva-1.0.1 template/test/test_helper.rb
larva-1.0.0 template/test/test_helper.rb