java-tutorials/gradle/greeting-library/bin/greeter/GreetingFormatterSpec.groovy

14 lines
281 B
Groovy
Raw Normal View History

2019-10-30 18:09:06 -04:00
package greeter
import spock.lang.Specification
class GreetingFormatterSpec extends Specification {
def 'Creating a greeting'() {
expect: 'The greeeting to be correctly capitalized'
GreetingFormatter.greeting('gradlephant') == 'Hello, Gradlephant'
}
}