Skip to content

Instantly share code, notes, and snippets.

View distributedlife's full-sized avatar

Ryan Boucher distributedlife

View GitHub Profile
@distributedlife
distributedlife / p2-improve-09.feature
Created June 2, 2013 03:13
P2 Magazine - Issue 01 - Improve This
When admin suspends the Live Sale
Then Following users should see the splash popup
| role |
| auctioneer |
| seller |
| buyer_1 |
@distributedlife
distributedlife / p2-improve-08.feature
Created June 2, 2013 03:12
P2 Magazine - Issue 01 - Improve This
Given an auction that is in progress
Then the auction cannot be suspended by the seller
Then the auction cannot be suspended by the auctioneer
Then the auction cannot be suspended by a buyer
Then the auction can be suspended by an admin.
@distributedlife
distributedlife / p2-improve-07.feature
Created June 2, 2013 03:11
P2 Magazine - Issue 01 - Improve This
And admin verifies that they "can" suspend the Live Sale
@distributedlife
distributedlife / p2-improve-06.feature
Created June 2, 2013 03:00
P2 Magazine - Issue 01 - Improve This
Given a Live Sale is being 'prepared'
Then the Live Sale cannot be suspended
@distributedlife
distributedlife / p2-improve-05.feature
Created June 2, 2013 02:56
P2 Magazine - Issue 01 - Improve This
Then admin verifies that they "cannot" suspend the Live Sale
@distributedlife
distributedlife / p2-improve-04.feature
Created June 2, 2013 02:42
P2 Magazine - Issue 01 - Improve This
And 2 listings are added to the Live Sale through the web service
@distributedlife
distributedlife / p2-improve-03.feature
Created June 2, 2013 02:41
P2 Magazine - Issue 01 - Improve This
And Live Sale is created and published with automatic run assignment
@distributedlife
distributedlife / p2-improve-02.feature
Created June 2, 2013 02:40
P2 Magazine - Issue 01 - Improve This
And Following users have logged in
| role | username | password | bid_on_behalf_of |
| auctioneer | Walter | password | |
| seller | Mildred | password | |
| buyer_1 | Jane | password | Company A |
| buyer_2 | Andy | password | Company B |
@distributedlife
distributedlife / p2-improve-01.feature
Created June 2, 2013 02:36
P2 Magazine - Issue 01 - Improve This
Given admin Joe logs into site
@distributedlife
distributedlife / puzzle-block-2.java
Last active December 17, 2015 23:49
P2 Magazine - Issue 1 - Puzzle Gists
class MarketEdge {
int value;
}
public MarketEdge deliverBusinessValue() {
MarketEdge marketEdge = new MarketEdge();
try {
marketEdge.value = 20;
throw new NotEnoughValueDeliveredException();