expose the options hash in before/after blocks
Reported by David Chelimsky | June 11th, 2008 @ 05:14 PM | in No-Milestone-Assigned
I'd like to be able to do something like this:
Spec::Runner.configure do |config|
config.before(:each) do
do_something if example_group_options[:do_something]
end
end
describe Thing, :do_something => true do
...
Comments and changes to this ticket
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Behaviour Driven Development for Ruby.
