| Class | EimXML::Matchers::HaveContent |
| In: |
lib/eim_xml/matcher.rb
|
| Parent: | Object |
# File lib/eim_xml/matcher.rb, line 13
13: def failure_message
14: "expected #{@target.inspect} must have #{@expected}, but not."
15: end
# File lib/eim_xml/matcher.rb, line 8
8: def matches?(target)
9: @target = target
10: @target.has?(@expected)
11: end