Upgrading RSpec
RSpec is split into separate gems, and each one keeps its own changelog and upgrade notes. Start with the gem you use most.
- RSpec Core changelog and upgrade notes
- RSpec Expectations changelog and upgrade notes
- RSpec Mocks changelog and upgrade notes
- RSpec Rails changelog and upgrade notes
Before you upgrade
- Upgrade one major version at a time and run your suite between steps.
- Fix deprecation warnings on the old version first. They point at the code the next major version will break.
- Keep rspec-core, rspec-expectations and rspec-mocks on matching versions. The
rspecgem pins them together.
This page is original to this archive. Current RSpec docs: rspec.info.