Sha256: 417348b446c4e81cd241e9c966c2de945f7964763d0043831d1500148128faf8
Contents?: true
Size: 614 Bytes
Versions: 3
Compression:
Stored size: 614 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 } 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
3 entries across 3 versions & 1 rubygems