Sha256: 58ae48c2c488166ae76aafaae864215b0a361e062664f1b77827daa739859167
Contents?: true
Size: 552 Bytes
Versions: 165
Compression:
Stored size: 552 Bytes
Contents
@Grab('org.spockframework:spock-core:1.0-groovy-2.4') import spock.lang.Specification class TwoFerSpec extends Specification { def 'no name given'() { expect: TwoFer.twoFer() == 'One for you, one for me.' } def 'empty name given'() { expect: TwoFer.twoFer('') == 'One for you, one for me.' } def 'Alice given as a name'() { expect: TwoFer.twoFer('Alice') == 'One for Alice, one for me.' } def 'Bob given as name'() { expect: TwoFer.twoFer('Bob') == 'One for Bob, one for me.' } }
Version data entries
165 entries across 165 versions & 1 rubygems