Class: Oktest::JsonMatcher
Defined Under Namespace
Classes: AND, Any, Enum, Length, OR
Instance Method Summary collapse
Methods inherited from Matcher
Constructor Details
This class inherits a constructor from Oktest::Matcher
Instance Method Details
#===(expected) ⇒ Object
583 584 585 586 587 588 |
# File 'lib/oktest.rb', line 583 def ===(expected) #; [!4uf1o] raises assertion error when JSON not matched. _compare([], @actual, expected) #; [!0g0u4] returns true when JSON matched. return true end |