RSpec 3.0 syntax

rspec-mock 3.0 has a new syntax for stubbing.  The old
syntax raises deprecation warning.  This change fixes it.