import geb.spock.GebReportingSpec

class GebishOrgSpec extends GebReportingSpec {

    def "can get to the current Book of Geb"() {
        when:
        to GebishOrgHomePage

        and: //hover over to expand the menu
        interact {
            moveToElement(manualsMenu.toggle)
        }

        then: //first link is for the current manual
        manualsMenu.links[0].text().endsWith("- CURRENT")

        when:
        manualsMenu.links[0].click()

        then:
        at TheBookOfGebPage
    }
}
import geb.spock.GebReportingSpec

class GebishOrgSpec extends GebReportingSpec {

    def "can get to the current Book of Geb"() {
        when:
            to GebishOrgHomePage

        and: //hover over to expand the menu
            interact {
                moveToElement(manualsMenu.toggle)
            }

        then: //first link is for the current manual
            manualsMenu.links[0].text().endsWith("- CURRENT")

        when:
            manualsMenu.links[0].click()

        then:
            at TheBookOfGebPage
    }
}
Add indents to spock code
Add indents to spock code
