Then the "Tags" vocabulary should have the term "Bees"

Assert a vocabulary has (or does not have) a term, read from its list of terms.

Examples

Then the "Tags" vocabulary should have the term "Bees"
Then the "Tags" vocabulary should have the term "Honey"
And the "Tags" vocabulary should not have the term "Wax"
Then the "Tags" vocabulary should have the term "Hives"
And the "Tags" vocabulary should not have the term "Pollen"

Pattern

Then(/^the "([^"]*)" vocabulary should( not)* have the term "([^"]*)"$/, …)

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