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

Critical or Security advisories for 3.6.0

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

Changelog for 3.6.0

Full Changelog

Bug Fixes:

  • Fix "instance variable @color not initialized" warning when using rspec-mocks without rspec-core. (Myron Marston, #1142)
  • Restore aliased module methods properly when stubbing on 1.8.7. (Samuel Giddins, #1144)
  • Allow a message chain expectation to be constrained by argument(s). (Jon Rowe, #1156)

Dependencies for 3.6.0

Name Requirement Status
< 2.0, >= 1.2.0

~> 3.6.0

My projects using rspec-mocks

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