Permalink
Browse files

Forzamos fallo de tests

Insertamos una errata en el test holaDavid para forzar un error en el test
  • Loading branch information...
dmunozfer committed Jul 2, 2016
1 parent aa7e726 commit ac1e9266ef238e2a713b8caada5e093b21fc1962
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/java/es/dmunozfer/jenkins/HolaControllerTest.java
@@ -54,7 +54,7 @@ public void holaDavid() throws Exception {
.andExpect(view().name("hola"))
.andExpect(model().attributeExists("nombre"))
.andExpect(model().attribute("nombre", is("David")))
- .andExpect(content().string(containsString("¡Hola David!")))
+ .andExpect(content().string(containsString("¡Hola David!a")))
;
}

0 comments on commit ac1e926

Please sign in to comment.