Skip to content

Instantly share code, notes, and snippets.

View kgardnr's full-sized avatar

Kim Gardner kgardnr

View GitHub Profile
Feature: Payments
Scenario: A plan is created and invoice is issued
When a plan is created for "Company A" for $"12" and "12" seats with default reference "their reference"
Then an unpaid invoice should issued for $"144" with reference "their reference"
And the plan should be inactive
And the plan should be synced to stripe
Scenario: An issue is created and people are notified # what's an "issue" in this case?
When an unpaid invoice is issued
Then an email should be sent to internal users containing a link to the invoice