Permalink
Browse files

OrderPaid spec corrected

  • Loading branch information...
1 parent 523df41 commit 387badf59682861c300eebab82927b70ae75597d Tom Janssens committed Mar 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 ConfReboot.Specs/Book_seats.cs
@@ -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>();
@@ -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]

0 comments on commit 387badf

Please sign in to comment.