collectiveidea/delayed_job — pull request #540 by tiegz (2013-07-10 15:22:19+00:00)
Title: Update some rspec methods that warn of deprecations.

When I ran the specs I got a few deprecation notices: `stub!` (an alias for `stub`) is being removed, `mock` is being removed in favor of existing `double`, and `raise_error()`/`raise_exception()` will not take specific errors when it's used in negative expectations.