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.11 templates/test/test_helper.rb
hephaestus-0.8.10 templates/test/test_helper.rb
hephaestus-0.8.9.2 templates/test/test_helper.rb
hephaestus-0.8.9.1 templates/test/test_helper.rb
hephaestus-0.8.9 templates/test/test_helper.rb
hephaestus-0.8.8 templates/test/test_helper.rb
hephaestus-0.8.7.5 templates/test/test_helper.rb
hephaestus-0.8.7.4 templates/test/test_helper.rb
hephaestus-0.8.7.3 templates/test/test_helper.rb
hephaestus-0.8.7.2 templates/test/test_helper.rb
hephaestus-0.8.7.1 templates/test/test_helper.rb
hephaestus-0.8.7 templates/test/test_helper.rb
hephaestus-0.8.6 templates/test/test_helper.rb
hephaestus-0.8.5 templates/test/test_helper.rb
hephaestus-0.8.4.1 templates/test/test_helper.rb
hephaestus-0.8.4 templates/test/test_helper.rb
hephaestus-0.8.3.4 templates/test/test_helper.rb
hephaestus-0.8.3.3 templates/test/test_helper.rb
hephaestus-0.8.3.2 templates/test/test_helper.rb
hephaestus-0.8.3.1 templates/test/test_helper.rb