Class: Jbr::Mock::Jobs
Overview
The jobs an app under test asked Jbr.mock to answer with. Only the walk is mocked: narrowing a list, and reading it as records or as IDs, is the same code a real one runs.
Constant Summary
Constants inherited from Jobs
Constants included from Listable
Listable::IDS_PAGE, Listable::PAGE
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
-
#find(id) ⇒ Mock::Job
The job filed under that ID where the app listed one, and otherwise the single job it named — which is every app that mocks a lookup without mocking a list.
Methods included from Includable
Methods included from Listable
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Jbr::Resource