[rspec-users] stub in config.before
john.hinnegan at gmail.com
Sun Aug 14 17:48:14 EDT 2011
I was trying to stub something "globally", across all tests today, and had
RSpec.configure do |config|
seems that stub is not available here yet. (I was stubbing a class method,
and the class was loaded correctly).
Is there somewhere else I should be putting this? At what point is the stub
(PS, the code I'm using in there works just fine in "proper" before blocks
inside describe blocks)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users