Created
December 3, 2010 15:46
-
-
Save dchelimsky/727112 to your computer and use it in GitHub Desktop.
shared_example_group_rspec_2_workaround
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FWIW, I've been sharing before/after hooks by defining a method in a module, exending the module in RSpec.configure, and then calling the method in an example group.
I may switch to something like
include_shared_context
in the future but this has worked nicely for me.