Bug fixes:
- Fix
===
to work with multiple mocks. (@bquorning, #61)
Enhancements:
- Rails 7+ support. (Jon Rowe, #56)
- Rails 6+ support, (Jon Rowe, #50)
Bug fixes:
- mock_model stubs
===
on the klass to ensure case equality works. (Jon Rowe, #55) - Prefer File.exist? to avoid deprecation. (Olle Jonsson, #49)
- Add missing project metadata to the gemspec. (Orien Madgwick, #34)
- Make
blank?
behave like (be mocked like)empty?
. (@lulalala, #29)
Enhancements:
- Support Rails 5.x. (Jon Rowe, #33)
Bug fixes:
- Fix stubbing / mocking models without a primary key. (Andrew Blignaut, #13)
Bug fixes:
- Fix mocking
belongs_to
associations in Rails 4.2+. (JonRowe, #19) - Removed deprecated option from
rspec-activemodel-mocks.gemspec
. (@taki, #14)
Bug fixes:
- Support RSpec 2.99. (Thomas Holmes)
First release of the extracted rspec-activemodel-mocks
from rspec-rails
. (Thomas Holmes)