Sha256: b46ad7e2ba5c9a9787e10b373ace952e08d9e56dfa3a7a3adba1627bf5b20251

Contents?: true

Size: 606 Bytes

Versions: 77

Compression:

Stored size: 606 Bytes

Contents

# frozen_string_literal: true

require "rails/test_unit/line_filtering"

module Rails
  class TestUnitRailtie < Rails::Railtie
    config.app_generators do |c|
      c.test_framework :test_unit, fixture: true,
                                   fixture_replacement: nil

      c.integration_tool :test_unit
      c.system_tests :test_unit
    end

    initializer "test_unit.line_filtering" do
      ActiveSupport.on_load(:active_support_test_case) {
        ActiveSupport::TestCase.extend Rails::LineFiltering
      }
    end

    rake_tasks do
      load "rails/test_unit/testing.rake"
    end
  end
end

Version data entries

77 entries across 74 versions & 7 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/railties-7.1.3.4/lib/rails/test_unit/railtie.rb
railties-8.0.1 lib/rails/test_unit/railtie.rb
railties-8.0.0.1 lib/rails/test_unit/railtie.rb
railties-7.2.2.1 lib/rails/test_unit/railtie.rb
railties-7.1.5.1 lib/rails/test_unit/railtie.rb
railties-7.0.8.7 lib/rails/test_unit/railtie.rb
railties-8.0.0 lib/rails/test_unit/railtie.rb
railties-7.2.2 lib/rails/test_unit/railtie.rb
railties-7.1.5 lib/rails/test_unit/railtie.rb
railties-8.0.0.rc2 lib/rails/test_unit/railtie.rb
railties-7.2.1.2 lib/rails/test_unit/railtie.rb
railties-7.1.4.2 lib/rails/test_unit/railtie.rb
railties-7.0.8.6 lib/rails/test_unit/railtie.rb
railties-8.0.0.rc1 lib/rails/test_unit/railtie.rb
railties-7.2.1.1 lib/rails/test_unit/railtie.rb
railties-7.1.4.1 lib/rails/test_unit/railtie.rb
railties-7.0.8.5 lib/rails/test_unit/railtie.rb
railties-8.0.0.beta1 lib/rails/test_unit/railtie.rb
omg-railties-8.0.0.alpha9 lib/rails/test_unit/railtie.rb
omg-railties-8.0.0.alpha8 lib/rails/test_unit/railtie.rb