I am new to Cucumber testing. I have a starter test which works ok, but I need to clear down the database in between tests.
This is the scenario:
Scenario: Should update the stock levels
Given user is on the product page
When user updates the stock quantity
Then the new stock quantity is available on the product page
How do I handle cleardown for the the database in Cucumber? I've seen the recipe Seeding Your Database in Node but how do I implement that in Cucumber?