Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (32 sloc) 1.05 KB
- name: static importRequisition
import: <<yaml://examples/reuse.yml.nqr>>
onFinish:
assertions:
- expectToBeTruthy: requisition.imported
- name: dynamic importRequisition
priority: lower
import:
priority: higher
onInit:
script: requisition.dynamicallyImported = true;
onFinish:
assertions:
- expectToBeTruthy: requisition.dynamicallyImported
- expect: requisition.priority
toBeEqualTo: `higher`
- publishers:
- import: <<json://examples/http-publisher-reuse.nqr>>
onFinish:
assertions:
- expect: publisher.type
toBeEqualTo: `http`
- expect: publisher.method
toBeEqualTo: `POST`
subscriptions:
- import: <<json://examples/http-subscription-reuse.nqr>>
onFinish:
assertions:
- expect: subscription.type
toBeEqualTo: `http`
- expect: subscription.endpoint
toBeEqualTo: `/subscription-reuse`
You can’t perform that action at this time.