This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Mocking and Stubbing with Cucumber
We recommend you exercise your whole stack when using Cucumber. You can set up mocks with expectations in your Step Definitions. You can read more about how in Bryan Helkamp’s blog post.
As of RSpec 1.2.8 if you need to use stubs within Cucumber and you are using the built in mocking framework that ships with RSpec you simply need to
require ‘spec/stubs/cucumber’in your env.rb file.
We recommend you only mock and stub things like Time and external services like OpenID etc.






