Sha256: 5f4588db518b12c344a298cafaffd5b2f0e23e00a1dd9de3b63ba6871aa61209

Contents?: true

Size: 858 Bytes

Versions: 2

Compression:

Stored size: 858 Bytes

Contents

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require_relative "../test/dummy/config/environment"

require "rails/test_help"
ActiveRecord::MigrationContext.new(File.expand_path("../test/dummy/db/migrate", __dir__)).migrate

# Filter out the backtrace from minitest while preserving the one from other libraries.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new

require "rails/test_unit/reporter"

Rails::TestUnitReporter.executable = 'bin/test'


# Load fixtures from the engine
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
  ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
  ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
  ActiveSupport::TestCase.fixtures :all
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
first_after_created_at-1.0.1 test/test_helper.rb
first_after_created_at-1.0.0 test/test_helper.rb