Created
July 18, 2014 01:17
-
-
Save rodrigoSaladoAnaya/acbb743be76d097530a9 to your computer and use it in GitHub Desktop.
Un ejemplo de como usar GertxSpecification
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
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