java-tutorials/gradle/greeting-library/bin/greeter/GreetingFormatterSpec.groovy
abirkhan04 9caf73c18e Gradle tutorial project : (#2922)
* Gradle tutorial project :
1. A multi-project build
2. Inclusive all required tasks and dependency example.

* Gradle tutorial is shifted to gradle folder
2017-11-22 20:19:42 +01:00

14 lines
281 B
Groovy

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'
}
}