Sha256: b903e33f0ffb4766bfe617606e7e53f9379f2352dc9b22bb31eeedde7174a167
Contents?: true
Size: 849 Bytes
Versions: 2
Compression:
Stored size: 849 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 Rails::TestUnitReporter.executable = 'bin/test' # see https://github.com/rails/rails/issues/4971 for why we cant test this method #if ActiveSupport::TestCase.method_defined?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("../dummy/test/fixtures", __FILE__) ActiveRecord::FixtureSet.context_class.send :include, Pythia #end # Load fixtures from the engine class ActiveSupport::TestCase fixtures :all end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pythia-0.0.3-x86_64-linux | test/test_helper.rb |
pythia-0.0.2-x86_64-linux | test/test_helper.rb |