Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute multiple actions with a Given or When method #34

Closed
Galad opened this issue May 10, 2018 · 0 comments
Closed

Execute multiple actions with a Given or When method #34

Galad opened this issue May 10, 2018 · 0 comments
Milestone

Comments

@Galad
Copy link
Owner

Galad commented May 10, 2018

Instead of doing

Actor.Given(Add.TheItem("Buy milk"));
Actor.Given(Add.TheItem("Buy bread"));

We could do

Actor.Given(
         Add.TheItem("Buy milk"),
         Add.TheItem("Buy bread")
         );

(Same principle applies to When)

This can be an extension method of IActorFacade.

@Galad Galad added this to the 1.0.0 milestone May 10, 2018
@Galad Galad closed this as completed in 8e35933 May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant