Skip to content

Instantly share code, notes, and snippets.

@HowardvanRooijen
Last active August 29, 2015 14:16
Show Gist options
  • Save HowardvanRooijen/21d491e01b4907cb197c to your computer and use it in GitHub Desktop.
Save HowardvanRooijen/21d491e01b4907cb197c to your computer and use it in GitHub Desktop.
Final Vellum Specification
Scenario: Free Azure Hosting Plan License that was issued today and is running on a Free Azure Hosting Plan License with a valid host name is valid
Given they want a 'Subscription' license
And their customer id is 'c8ca3109-6fbf-4b75-b6ee-67a1a0a56bd1'
And their subscription id is '03c1b02b-7806-4e94-8044-140d95ff52d1'
And their license was issued today
And their SKU is 'Free'
And their development host is 'localhost'
And their site name is 'mysite'
And they are running the site on a 'Free' Azure Hosting Plan
And they are hosting on a website called 'mysite'
And I generate their license
When they validate their license
Then it should be a valid license
And it should have been issued today
And it should expire on the last day of this month
And the metadata should have a value of 'localhost' for the development host
And the metadata should have a value of 'mysite' for the site name
And the metadata should have a value of 'Free' for the SKU
And the metadata should not have a value for instance size
And the metadata should have a value of 'c8ca3109-6fbf-4b75-b6ee-67a1a0a56bd1' for the customer id
And the metadata should have a value of '03c1b02b-7806-4e94-8044-140d95ff52d1' for the subscription id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment