Method: Shoulda::ActionController::Matchers::RenderWithLayout#description

Defined in:
lib/shoulda/action_controller/matchers/render_with_layout_matcher.rb

#descriptionObject



35
36
37
38
39
40
41
42
43
# File 'lib/shoulda/action_controller/matchers/render_with_layout_matcher.rb', line 35

def description
  description = "render with "
  if @layout.nil?
    description << "a layout"
  else
    description << "the #{@layout.inspect} layout"
  end
  description
end