# File lib/generator_spec/matcher.rb, line 113 def failure_message if @failure.is_a?(Array) && @failure[0] == :not "Structure should not have had #{@failure[1]}, but it did" elsif @failure.is_a?(Array) "Structure should have #{@failure[0]} with #{@failure[1]}. It had:\n#{@failure[2]}" else "Structure should have #{@failure}, but it didn't" end end
Generated with the Darkfish Rdoc Generator 2.