As a Promotion Manager
I need the ability to read a promotion
So that I can find details of specific promotion id
Assumptions:
We will store the promotion details in a PostgreSQL database
An promotion has an id and deals on products, such as sale, buy 1 get 1 free, 20% off
Acceptance Criteria:
Given there is at least one promotion in the database
When I read a promotion with its id
Then there should be displayed the detail of the promotion
As a Promotion Manager I need the ability to read a promotion So that I can find details of specific promotion id
Assumptions:
We will store the promotion details in a PostgreSQL database An promotion has an id and deals on products, such as sale, buy 1 get 1 free, 20% off Acceptance Criteria:
Given there is at least one promotion in the database When I read a promotion with its id Then there should be displayed the detail of the promotion