Sha256: b889320b6d00a06cd56403496a6e8481391f14c98eb4148556ea0591e4f74287

Contents?: true

Size: 359 Bytes

Versions: 8

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

module Rails
  module Dom
    module Testing
      class Railtie < Rails::Railtie # :nodoc:
        config.after_initialize do |app|
          version = app.config.try(:dom_testing_default_html_version) # Rails 7.1+
          Rails::Dom::Testing.default_html_version = version if version
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 6 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/railtie.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/railtie.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/railtie.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/railtie.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/railtie.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/railtie.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/rails-dom-testing-2.2.0/lib/rails/dom/testing/railtie.rb
rails-dom-testing-2.2.0 lib/rails/dom/testing/railtie.rb