Sha256: 0b830a788c0b405414f9c8d4109629b8e7fc7aee22da95f45fef573f1c60cf4e
Contents?: true
Size: 724 Bytes
Versions: 15
Compression:
Stored size: 724 Bytes
Contents
module Shoulda module Matchers module Integrations module Libraries # @private class ActionController Integrations.register_library(self, :action_controller) include Integrations::Inclusion include Integrations::Rails def integrate_with(test_framework) test_framework.include(matchers_module, type: :controller) include_into(::ActionController::TestCase, matchers_module) do def subject @controller end end end private def matchers_module Shoulda::Matchers::ActionController end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems