Sha256: b333c766302a66fb84b063c5ceec3c7b72e419b3aeadc82aad974656fbdc6a85
Contents?: true
Size: 652 Bytes
Versions: 8
Compression:
Stored size: 652 Bytes
Contents
module MiniTestSpecRails module Init module ActionControllerBehavior extend ActiveSupport::Concern included do register_spec_type(self) { |desc| Class === desc && desc < ActionController::Metal } register_spec_type(/Controller( ?Test)?\z/i, self) register_spec_type(self) { |desc| Class === desc && desc < self } register_rails_test_case self end private def setup_controller_request_and_response describing_class.tests described_class super end end end end ActionController::TestCase.send :include, MiniTestSpecRails::Init::ActionControllerBehavior
Version data entries
8 entries across 8 versions & 1 rubygems