Created
January 10, 2012 11:35
-
-
Save mikz/1588581 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Provider billing mode on | |
In order to bill active users | |
As a buyer | |
I don't want to be billed when I'm not active | |
Background: | |
Given the date is 10th January 2011 | |
Given a provider "xyz.example.com" with billing enabled | |
And an application plan "Fixed" of provider "xyz.example.com" for 100 monthly | |
And a default account plan "AccPlan" of provider "xyz.example.com" for 50 monthly | |
And a pending buyer "pending" signed up to provider "xyz.example.com" | |
And an approved buyer "approved" signed up to provider "xyz.example.com" | |
And a buyer "buyer" signed up to application plan "Fixed" | |
Scenario: Pending buyer does not have invoices | |
When time flies to 10th February 2011 | |
Then account "buyer" should have 2 invoices | |
And account "approved" should have 2 invoices | |
And account "pending" should have 0 invoices |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment