Skip to content

Instantly share code, notes, and snippets.

@tomstuart
Forked from richardjpope/free-prescriptions.feature
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save tomstuart/7249ad30e56c45d227da to your computer and use it in GitHub Desktop.

Select an option

Save tomstuart/7249ad30e56c45d227da to your computer and use it in GitHub Desktop.
Given a user is dispensed a prescription
When their age is >= 60
Then the prescription cost should be 0
Given a user is dispensed a prescription
And their age is < 16
Then the prescription cost should be 0
Given a user is dispensed a prescription
When their age is >= 16 and <= 18 and they are in full-time education
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they are pregnant
And have a valid MedEx certificate
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they have a physical disability
And they have a valid MedEx certificate
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they have a War Pension
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they are an inpatient
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they receive the benefit "Income Support"
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they receive the "Income-based Jobseeker’s Allowance" benefit
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they receive the "Income-related Employment and Support Allowance" benefit
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they receive the "Pension Credit Guarantee Credit" benefit
Then the prescription cost should be 0
Given a user is dispensed a prescription
When they receive the "Universal Credit" benefit
Then the prescription cost should be 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment