Module: RSpecApi::Matchers::PageLinks
- Included in:
- RSpecApi::Matchers
- Defined in:
- lib/rspec-api/matchers/page_links/matcher.rb,
lib/rspec-api/matchers/page_links/have_page_links.rb
Defined Under Namespace
Classes: Matcher
Instance Method Summary collapse
-
#have_page_links ⇒ Object
Passes if the object includes pagination links in the headers.
Instance Method Details
#have_page_links ⇒ Object
Note:
The method only checks the presence of a rel=“prev” link. This may be extended in future versions.
Passes if the object includes pagination links in the headers
27 28 29 |
# File 'lib/rspec-api/matchers/page_links/have_page_links.rb', line 27 def have_page_links RSpecApi::Matchers::PageLinks::Matcher.new end |