JoshCheek/surrogate — pull request #7 by heruku (2014-08-07 13:50:35+00:00)
Title: RSpec patch

* Aliases '#should' to '#was' only when '#should' is defined on the object i.e. monkey-patching is enabled in rspec. Endower hook will currently fail when using rspec 3 in zero monkey-patching mode.

* Adds aliased failure message methods to substitution matcher in order to make RSpec 3 happy. Currently it runs fine, but raises deprecation warnings.