Sha256: e653e6b531c4eb6a23c8adc76afae4cb52eac760fdb48340167e30f9c0554a14
Contents?: true
Size: 752 Bytes
Versions: 7
Compression:
Stored size: 752 Bytes
Contents
require 'simplecov' SimpleCov.start do load_profile 'test_frameworks' add_filter 'lib/thermite/fiddle.rb' add_filter 'lib/thermite/tasks.rb' track_files 'lib/**/*.rb' end ENV['THERMITE_TEST'] = '1' require 'minitest/autorun' require 'mocha/mini_test' require 'thermite/config' module Minitest class Test def fixtures_path(*components) File.join(File.dirname(__FILE__), 'fixtures', *components) end end end module Thermite module ModuleTester def mock_module(options = {}) @mock_module ||= described_class.new(options) end end module TestHelper attr_reader :config, :options def initialize(options = {}) @options = options @config = Thermite::Config.new(@options) end end end
Version data entries
7 entries across 7 versions & 1 rubygems