Sha256: f67f8eabf37208a8662529079b9826660f69f541ffe0dc9ccd21191b0a071c9c

Contents?: true

Size: 886 Bytes

Versions: 5

Compression:

Stored size: 886 Bytes

Contents

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

require File.expand_path("../../test/dummy/config/environment.rb",  __FILE__)
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
require "rails/test_help"

# Filter out Minitest backtrace while allowing backtrace from other libraries
# to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

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

class ActionController::TestCase
  include Edgarj::ControllerSupporter
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
edgarj-4.06.10 test/test_helper.rb
edgarj-4.06.09 test/test_helper.rb
edgarj-4.06.07 test/test_helper.rb
edgarj-4.06.05 test/test_helper.rb
edgarj-4.06.04 test/test_helper.rb