Then the "Tags" selector should have "Fun" chosen

Assert where an option of a two-list selector is: in the "chosen" list or the "available" one (as its filter shows it).

Examples

Then the "Tags" selector should have "Fun" chosen
Then the "Tags" selector should have "Long" available
And the "Tags" selector should not have "Fun" available
Then the "Permissions" selector should have "Polls | question | Can change question" chosen
And the "Tags" selector should not have "Serious" chosen

Pattern

Then(/^the "([^"]*)" selector should( not)* have "([^"]*)" (chosen|available)$/, …)

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