"expected that the #{@target.req.method} to #{@target.req.uri} to #{description}"
end
deffailure_message_for_should_not
"expected that the #{@target.req.method} to #{@target.req.uri} not to #{description}"
end
defdescription
returned_values=" but returned with status #{@target.response_header.status} and content_length equals to #{@target.response_header.content_length.to_i}"
about_content=" and #{@should_has_content?"with body":"without body"}"unless@should_has_content.nil?
"be returned with status #{@expected}#{about_content}#{returned_values}"