RSpec's 'test double' framework, with support for stubbing and mocking

Critical or Security advisories for 3.7.0

This version doesn't have any advisory. Want to report one?

Changelog for 3.7.0

Full Changelog


  • Improve compatibility with --enable-frozen-string-literal option on Ruby 2.3+. (Pat Allan, #1165)

Bug Fixes:

  • Fix hash_including and hash_excluding so that they work against subclasses of Hash. (Aaron Rosenberg, #1167)

Dependencies for 3.7.0

Name Requirement Status
< 2.0, >= 1.2.0

~> 3.7.0

My projects using rspec-mocks

Name Locked version Requirement
You should be logged in to see which of your projects use rspec-mocks.