Sha256: 66a70200011f1ab9913ce2606546ad9257cedf74dd0098ea9104f7546c3836a9

Contents?: true

Size: 834 Bytes

Versions: 53

Compression:

Stored size: 834 Bytes

Contents

# typed: false
# frozen_string_literal: true

require "debug" if ENV.fetch("DEBUG", false)

if ENV["COVERAGE"] == "1"
  require "simplecov"
  require "simplecov-console"

  SimpleCov.start("rails")

  # do not crash on failure; we want a distinct job to report the coverage error
  module SimpleCov
    class << self
      def result_exit_status(_)
        SimpleCov::ExitCodes::SUCCESS
      end
    end
  end
end

require "httpx"
require "webmock/minitest"
require "httpx/adapters/webmock"
WebMock.enable!
WebMock.disable_net_connect!(allow_localhost: true)

require_relative "support/rails"

require "minitest/pride"

require "webmock/minitest"
# Load everything else from test/support
Dir[File.expand_path("support/**/*.rb", __dir__)].each { |rb| require(rb) }

# https://github.com/freerange/mocha#rails
require "mocha/minitest"

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
hephaestus-0.8.3 templates/test/test_helper.rb
hephaestus-0.8.2 templates/test/test_helper.rb
hephaestus-0.8.1 templates/test/test_helper.rb
hephaestus-0.8.0 templates/test/test_helper.rb
hephaestus-0.7.7.2 templates/test/test_helper.rb
hephaestus-0.7.7 templates/test/test_helper.rb
hephaestus-0.7.6.2 templates/test/test_helper.rb
hephaestus-0.7.6.1 templates/test/test_helper.rb
hephaestus-0.7.6 templates/test/test_helper.rb
hephaestus-0.7.5.3 templates/test/test_helper.rb
hephaestus-0.7.5.2 templates/test/test_helper.rb
hephaestus-0.7.5.1 templates/test/test_helper.rb
hephaestus-0.7.5 templates/test/test_helper.rb
hephaestus-0.7.4.2 templates/test/test_helper.rb
hephaestus-0.7.4.1 templates/test/test_helper.rb
hephaestus-0.7.4 templates/test/test_helper.rb
hephaestus-0.7.3.1 templates/test/test_helper.rb
hephaestus-0.7.3 templates/test/test_helper.rb
hephaestus-0.7.2.5 templates/test/test_helper.rb
hephaestus-0.7.2.4 templates/test/test_helper.rb