Module: RSpecApi::Matchers::Sort
- Included in:
- RSpecApi::Matchers
- Defined in:
- lib/rspec-api/matchers/sort/matcher.rb,
lib/rspec-api/matchers/sort/be_sorted.rb
Defined Under Namespace
Classes: Matcher
Instance Method Summary collapse
-
#be_sorted(options = {}) ⇒ Object
Passes if the response body is a non-empty sorted JSON collection.