Skip to content

Instantly share code, notes, and snippets.

@rodrigoSaladoAnaya
Created July 18, 2014 01:17
Show Gist options
  • Save rodrigoSaladoAnaya/acbb743be76d097530a9 to your computer and use it in GitHub Desktop.
Save rodrigoSaladoAnaya/acbb743be76d097530a9 to your computer and use it in GitHub Desktop.
Un ejemplo de como usar GertxSpecification
package com.tu.starup
class TestLikeSpec extends GertxSpecification {
def setupSpec() { //Se despliegan primero los verticles
deployVerticle('aplica_like.groovy')
}
def cleanup() {
}
void "Prueba el verticle aplica_like"() {
expect:
result == sendAgrs('aplica_like', args)
where:
args << [
[likes: 24]
]
result << [
true
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment