Skip to content

Commit

Permalink
OrderPaid spec corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Janssens authored and Tom Janssens committed Mar 29, 2012
1 parent 523df41 commit 387badf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ConfReboot.Specs/Book_seats.cs
Expand Up @@ -68,7 +68,7 @@ public void Order_seats_when_not_enough_seats_available_but_none_are_pending()
}

[TestMethod]
public void Confirming_payment_for_order()
public void Pay_order()
{
var sut = new SUTClass();
sut.RegisterType<Order>();
Expand All @@ -80,8 +80,8 @@ public void Confirming_payment_for_order()
sut.Given(x => x.ConferenceRegistered(ConferenceId: "conferences/1", Name: "SomeConf", StartDate: startDate, MaxSeats: 100),
x => x.OrderRegistered(ConferenceId: "conferences/1", OrderId: "orders/1", Amount: 10),
x => x.SeatsReserved(ConferenceId: "conferences/1", OrderId: "orders/1", Amount: 10));
sut.When(x => x.ConfirmOrderPayment(OrderId: "orders/1"));
sut.Then(x => x.OrderPaymentConfirmed(ConferenceId: "conferences/1", OrderId: "orders/1"));
sut.When(x => x.PayOrder(OrderId: "orders/1"));
sut.Then(x => x.OrderPaid(ConferenceId: "conferences/1", OrderId: "orders/1"));
}

[TestMethod]
Expand Down

0 comments on commit 387badf

Please sign in to comment.