``` class ConcreteSpec : AbstractSpec({ descri...
# spek
h
Copy code
class ConcreteSpec : AbstractSpec({
    describe("compare numbers") {
        beforeEach {
            context["other"] = 12
        }

        it("should not be equal") {
            assert(14 != context["other"])
        }
    }
})
We could use
beforeEach()
, but this makes problems with scoped values. A hashmap like
context["other"]
in the above code doesn't make it better.