class Shoulda::Matchers::Integrations::Libraries::ActionController
@private
Public Instance Methods
Source
# File lib/shoulda/matchers/integrations/libraries/action_controller.rb, line 12 def integrate_with(test_framework) test_framework.include(matchers_module, type: :controller) include_into(::ActionController::TestCase, matchers_module) do def subject # rubocop:disable Lint/NestedMethodDefinition @controller end end end
Source
# File lib/shoulda/matchers/integrations/libraries/action_controller.rb, line 16 def subject # rubocop:disable Lint/NestedMethodDefinition @controller end
Private Instance Methods
Source
# File lib/shoulda/matchers/integrations/libraries/action_controller.rb, line 24 def matchers_module Shoulda::Matchers::ActionController end