Explorar el Código

fix fortune test

Damien Solimando hace 9 años
padre
commit
2277a6470d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      frameworks/Groovy/hot/shows/example.show.groovy

+ 1 - 1
frameworks/Groovy/hot/shows/example.show.groovy

@@ -55,7 +55,7 @@ rest.get('/queries/mongodb').then { req ->
 
 rest.get('/fortunes/mongodb').then {
 
-	mongo.Fortunes.find().promise().then { fortunes ->
+	mongo.Fortune.find().promise().then { fortunes ->
 		fortunes << [_id:0, message:'Additional fortune added at request time.']
 	}.then { fortunes ->
 		fortunes[0].message = StringEscapeUtils.escapeHtml("<script>alert(\"${fortunes[0].message}\")</script>")