Module: ShouldaMatchmakers::Controller::ActionController::Matchmaker::Callbacks

Included in:
ActionControllerControllerSmModel
Defined in:
lib/controller/action_controller/matchmakers/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#use_action_matcher_tests(action_kind) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/controller/action_controller/matchmakers/callbacks.rb', line 8

def use_action_matcher_tests(action_kind)
  use_actions = get_use_actions(@app_controller_name, action_kind)
  if use_actions.present?
    generate_use_action_matcher_tests(use_actions)
  else
    []
  end
end