Skip to content

Instantly share code, notes, and snippets.

@searls
Created October 23, 2010 19:37
Show Gist options
  • Save searls/642602 to your computer and use it in GitHub Desktop.
Save searls/642602 to your computer and use it in GitHub Desktop.
@Test
public void addsMessageOnUpdate() {
String expected = "update.success";
target.update();
assertThat(target,hasActionMessage(expected));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment