Sha256: 9cf29bff00a1ba16e8dfc1f298db4d1ddae819e3abb6df2065b36a9f27a73995

Contents?: true

Size: 435 Bytes

Versions: 8

Compression:

Stored size: 435 Bytes

Contents

module MiniTestSpecRails
  module Init
    module ActionDispatchBehavior

      extend ActiveSupport::Concern

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

    end
  end
end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
minitest-spec-rails-4.7.11 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.7.10 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.7.9 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.7.8 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.7.7 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.7.6 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.7.5 lib/minitest-spec-rails/init/action_dispatch.rb
minitest-spec-rails-4.7.4 lib/minitest-spec-rails/init/action_dispatch.rb