Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save joebuschmann/0afa3f7ec949d2daffcc15a9719633cd to your computer and use it in GitHub Desktop.
Save joebuschmann/0afa3f7ec949d2daffcc15a9719633cd to your computer and use it in GitHub Desktop.
[When(@"I remove the (.*) product")]
public void RemoveProduct(string position)
{
// Position comes in as 1st, 2nd, 3rd, etc.
int index = ParsePosition(position);
// Snip
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment