Object
@private
# File lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb, line 98 def description description = 'render with ' if @expected_layout.nil? description << 'a layout' else description << "the #{@expected_layout.inspect} layout" end description end
# File lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb, line 88 def failure_message "Expected #{expectation}, but #{result}" end
# File lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb, line 93 def failure_message_when_negated "Did not expect #{expectation}, but #{result}" end
Generated with the Darkfish Rdoc Generator 2.