22 lines
886 B
Gherkin
22 lines
886 B
Gherkin
Feature: legacy groups model api
|
|
In order for multiple people to chat async
|
|
They share a secret, and use a server to
|
|
support offline delivery
|
|
|
|
Scenario: Create a Group
|
|
Given a group on "iikv7tizbyxc42rsagnjxss65h3nfiwrkkoiikh7ui27r5xkav7gzuid"
|
|
Then the GroupID should be cryptographically bound to "iikv7tizbyxc42rsagnjxss65h3nfiwrkkoiikh7ui27r5xkav7gzuid"
|
|
|
|
Scenario: Generating an Invite
|
|
Given a group on "iikv7tizbyxc42rsagnjxss65h3nfiwrkkoiikh7ui27r5xkav7gzuid"
|
|
When I generate an invite
|
|
Then the invite should validate
|
|
|
|
Scenario Template: Validating an Invalid Invite
|
|
When I validate the invite "<invite>"
|
|
Then I should get a validation error "<error>"
|
|
|
|
Examples:
|
|
| invite | error |
|
|
| torv3 | invite has invalid structure |
|
|
| not an invite | invite has invalid structure | |