Permalink
Browse files

Remove obselete `Upgrade.md` file.

  • Loading branch information...
1 parent 47d6473 commit 8c129d74eeafa4190b166c367220380a5d18fdcd @myronmarston myronmarston committed Feb 19, 2014
Showing with 0 additions and 22 deletions.
  1. +0 −22 features/Upgrade.md
View
@@ -1,22 +0,0 @@
-## 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

0 comments on commit 8c129d7

Please sign in to comment.