-----BEGIN PGP SIGNED MESSAGE-----
I’ve been having difficulty sharing verification code between
different contexts when using RSpec. For example, there is common
verification code, between the following contexts, which checks that
the stack is empty.
An empty stack
- is empty
A stack with one item
- is empty when popped
How others are handling this problem?
One idea is to somehow apply Rake’s task-dependency framework to
contexts or their verification code. Though I’m not quite sure how
to make this work.
Thanks for your consideration.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v18.104.22.168 (GNU/Linux)
-----END PGP SIGNATURE-----