hspec questions

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

hspec questions

Mark Volkmann-3
It seems that I can use either "before" or "before_" to specify a function to run before each of my tests.
However, to specify a function to run after each of my tests I can use "after_", but not "after".
Is that correct?

Also, I can't get "around_" or "around" to work. The example at https://hspec.github.io/writing-specs.html uses the bracket function which I hadn't seen before, but it doesn't work for me. I'd love to see another example of this.

R. Mark Volkmann
Object Computing, Inc.

Beginners mailing list
[hidden email]