To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorUpgrade
rspec-mocks-2.6
any_instance
Set method stubs and message expectations on any instance of a class:
class Foo; end
Foo.any_instance.stub(:bar) { 'bar' }
Foo.new.bar # => 'bar'
rspec-mocks-2.2
require "rspec/mocks/standalone"
Sets up top-level environment to explore rspec-mocks. Mostly useful in irb:
$ irb
> require 'rspec/mocks/standalone'
> foo = double()
> foo.stub(:bar) { :baz }
> foo.bar
=> :baz
Last published over 7 years ago by .