Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void "test something"() {
- when:
- def author = Author.findById(authorId)
- then:
- author != null
- !Author.findAll().empty
- where:
- authorId = 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement