[rspec-users] using rSpec stub in Cucumber with rSpec2

Florent Florent florent2 at gmail.com
Thu Jul 1 11:25:57 EDT 2010


I have a Rails3beta4 project where I want to use rSpec stubs in a Cucumber
feature. Unfortunately it looks like requiring 'spec/stubs/cucumber' in
env.rb does not work anymore: I get a "no such file to load --
spec/stubs/cucumber (LoadError)" error.

Is it possible to use rSpec stubs in Cucumber with rSpec2? If not, is there
any other viable alternative?

Thanks for your help :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100701/08aa52e5/attachment.html>

More information about the rspec-users mailing list