Created
November 21, 2012 03:15
-
-
Save uris77/4122792 to your computer and use it in GitHub Desktop.
Nested Definitions in Spock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def "parse page offset request"(){ | |
| scenario "should return default OFFSET when no value is present" | |
| given: | |
| when: | |
| then: | |
| scenario "should return the integer representation of the present value" | |
| given: | |
| when: | |
| then: | |
| scenario: "should return the default OFFSET if a non numeric value is present" | |
| given: | |
| when: | |
| then: | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment