I can't find it on the RSpec site, and my googling is turning up nothing. Is there a way to clear a stub once set? I'm experiencing some behavior where I have some nested describes, with "before :each" and I need to change the stub from the parent. I thought it would just overwrite the previous stub value, but instead it seems to turn the stub into an array making the previous value the first element, and then the new value the second.

Thanks,
Steve

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to