Sha256: 514f521d2f1c4c0b8b5000a9b6a393ecb527a3338d8b57afa6260e26733388a9

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

module MiniTestSpecRails
  module Init
    module ActionDispatchBehavior

      extend ActiveSupport::Concern

      included do
        register_spec_type(/(Acceptance|Integration) ?Test\z/i, self)
        register_spec_type(self) { |desc| Class === desc && desc < self }
      end

    end
  end
end

ActionDispatch::IntegrationTest.send :include, MiniTestSpecRails::Init::ActionDispatchBehavior

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
minitest-spec-rails-4.3.4 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.3.3 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.3.2 lib/minitest-spec-rails/init/action_dispatch.rb