Spock Web Console

subscribe to the feed Subscribe
Rebecca Bean (via #spockwebconsole)
tweet this script Tweet

Rebecca Bean

Published 3 years ago by Seth with tags brilliant
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
import spock.lang.*

// Hit 'Run Script' below
class RebeccaSpec extends Specification {
  def "let's test the RebeccaBean"() {
    expect: 'A new RebeccaBean to be brilliant'
    'Brilliant' == new RebeccaBean().rebecca

class RebeccaBean {
    String rebecca = 'Brilliant'