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

Florent Florent florent2 at gmail.com
Fri Jul 2 00:59:47 EDT 2010


>
> Hello,
>
> 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?
>
Alask has updated Cucumber so that we can now use RSpec 2 mockings
frameworks:
http://wiki.github.com/aslakhellesoy/cucumber/mocking-and-stubbing-with-cucumber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20100701/6a53f92a/attachment.html>


More information about the rspec-users mailing list