rspec-rails-matchers icon indicating copy to clipboard operation
rspec-rails-matchers copied to clipboard

Removing deprecation warning for Rspec

Open afcapel opened this issue 14 years ago • 1 comments

Hi, the macthers are awesome and I have been using them for months without any problem, but recently updated to RSpec 2.6.0 and started to see a bunch of warnings like:

DEPRECATION WARNING: you are using a deprecated constant that will
be removed from a future version of RSpec.

* Rspec is deprecated.
* RSpec is the new top-level module in RSpec-2
***************************************************************

The following patch solved the problem for me, so hopefully it would be useful for others.

afcapel avatar Jun 02 '11 15:06 afcapel

@cyx, do you have plans to merge this into the master?

sivabudh avatar Aug 19 '11 19:08 sivabudh