Sha256: eaabb47b7cc8d6f44e2025dc77707fd4f46690f64bab89dfaf9c4e7423b219e1
Contents?: true
Size: 1.16 KB
Versions: 3
Compression:
Stored size: 1.16 KB
Contents
ENV['RAILS_ENV'] = 'test' require 'codeclimate-test-reporter' CodeClimate::TestReporter.start require File.expand_path("../../test/dummy/config/environment.rb", __FILE__) ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)] #require 'rails' require 'rails/test_help' require 'rails/generators/base' require 'rails/generators/test_case' require 'generators/generator_test_base' require 'minitest/rails' # 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 } class ActiveSupport::TestCase # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. fixtures :all end # Load fixtures from the engine if ActiveSupport::TestCase.respond_to?(:fixture_path=) ActiveSupport::TestCase.fixture_path = File.expand_path("#{Rails.root}/test/fixtures") ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path end if ActiveSupport.respond_to?(:test_order) ActiveSupport.test_order = :random end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bootbox_crud-0.2.1 | test/test_helper.rb |
bootbox_crud-0.2.0 | test/test_helper.rb |
bootbox_crud-0.1.1.7 | test/test_helper.rb |