```ruby
# This plugs RSpec's mocking/stubbing framework into cucumber
require 'spec/mocks'
Before {$rspec_stubs ||= Spec::Mocks::Space.new}
After  {$rspec_stubs.reset_all}
World(Spec::Mocks::ExampleMethods)
```

Rename global variable of Spec::Mocks::Space for Cucumber. Because old-name '' is not used in spec/mocks/proxy.rb, but '' is used.
user
```ruby
# This plugs RSpec's mocking/stubbing framework into cucumber
require 'spec/mocks'
Before {$rspec_mocks ||= Spec::Mocks::Space.new}
After  {$rspec_mocks.reset_all}
World(Spec::Mocks::ExampleMethods)
```
assistant