Given the diffy project is reachable

Check that the Diffy API key, the account's API access and the project id work together, by reading the project. Put it first in a feature so a wrong key or project id fails with a hint before any capture is made.

Diffy API: GET projects/{id}

Examples

Given the diffy project is reachable
Then the diffy project should be reachable
And the diffy project is reachable
And the diffy project should be reachable
But the diffy project is reachable

Pattern

Then(/^the diffy project (?:is|should be) reachable$/, …)

Part of @webship-js/diffy-steps (github.com/webship/diffy-steps), a step pack for Webship-js 2.0.x.