main
1using developwithpassion.bdd.contexts;
2using Gorilla.Commons.Testing;
3using MoMoney.Service.Infrastructure.Updating;
4
5namespace momoney.service.infrastructure.updating
6{
7 public class CancelUpdateSpecs
8 {
9 }
10
11 public class when_cancelling_an_update_of_the_application : concerns_for<ICancelUpdate, CancelUpdate>
12 {
13 it should_stop_downloading_the_update = () => deployment.was_told_to(x => x.UpdateAsyncCancel());
14
15 context c = () => { deployment = the_dependency<IDeployment>(); };
16
17 because b = () => sut.run();
18
19 static IDeployment deployment;
20 }
21}