``` Test : Spek({ on(“file created”) { befor...
# spek
a
Copy code
Test : Spek({
  on(“file created”) {
    beforeEach { createTempFile() } // Instead of JUnit rule.
  
    it(“should do something with file”) {
      // some assertion
    }
  }
})