Module: ShouldaMatchmakers::Controller::ActionController::Matchmaker::RenderWithLayout

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

Instance Method Summary collapse

Instance Method Details

#render_with_layout_matcher_testsObject



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

def render_with_layout_matcher_tests
  render_with_layout_occurrences = get_render_with_layout_occurrences(@app_controller_name)
  if render_with_layout_occurrences.present?
    generate_render_with_layout_matcher_tests(@app_controller_name, render_with_layout_occurrences)
  else
    []
  end
end