Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package groovy
- def sayHi = "hi"
- import spock.lang.Specification
- import spock.lang.Unroll
- import groovy.TheScript // what to do instead?
- class TheScriptTest extends Specification {
- def "Test One"() {
- expect:
- sayHi() == "hi" // sayHi() does not exist - how to call the field?
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement