Created
February 11, 2016 10:26
-
-
Save RiverGlide/626bbc6b043816274391 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void should_be_able_to_add_the_first_todo_item() { | |
givenThat(james).wasAbleTo(Start.withAnEmptyTodoList()); | |
when(james).attemptsTo(AddATodoItem.called("Buy some milk")); | |
then(james).should(seeThat(TheItems.displayed(), hasItem("Buy some milk"))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment