Created
December 9, 2019 06:12
-
-
Save kinnerapriyap/eb719728f5c14c931cee077ba15d6089 to your computer and use it in GitHub Desktop.
This file contains 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
describe("isPersonRetired") { | |
describe("when hasPersonWorked is true") { | |
beforeEachGroup { | |
person.copy(hasPersonWorked = true) | |
} | |
describe("when isActive is true") {...} | |
describe("when isActive is false") {...} | |
} | |
describe("when hasPersonWorked is false") { | |
beforeEachGroup { | |
person.copy(hasPersonWorked = false) | |
} | |
describe("when isActive is true") {...} | |
describe("when isActive is false") {...} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment