Skip to content

Bump rspec-rails from 4.0.1 to 5.1.0

libautomation requested to merge dependabot/bundler/rspec-rails-5.1.0 into main

Bumps rspec-rails from 4.0.1 to 5.1.0.

Release notes

Sourced from rspec-rails's releases.

4.0.2 / 2020-12-26

Full Changelog

Bug Fixes:

  • Indent all extra failure lines output from system specs. (Alex Robbin, #2321)
  • Generated request spec for update now uses the correct let. (Paul Hanyzewski, #2344)
  • Return true/false from predicate methods in config rather than raw values. (Phil Pirozhkov, Jon Rowe, #2353, #2354)
  • Remove old #fixture_path feature detection code which broke under newer Rails. (Koen Punt, Jon Rowe, #2370)
Changelog

Sourced from rspec-rails's changelog.

5.1.0 / 2022-01-26

Full Changelog

Enhancements:

  • Make the API request scaffold template more consistent and compatible with Rails 6.1. (Naoto Hamada, #2484)
  • Change the scaffold rails_helper.rb template to use require_relative. (Jon Dufresne, #2528)

5.0.3 / 2022-01-26

Full Changelog

Bug Fixes:

  • Properly name params in controller and request spec templates when using the --model-name parameter. (@kenzo-tanaka, #2534)
  • Fix parameter matching with mail delivery job and ActionMailer::MailDeliveryJob. (Fabio Napoleoni, #2516, #2546)
  • Fix Rails 7 have_enqueued_mail compatibility (Mikael Henriksson, #2537, #2546)

5.0.2 / 2021-08-14

Full Changelog

Bug Fixes:

  • Prevent generated job specs from duplicating _job in filenames. (Nick Flückiger, #2496)
  • Fix ActiveRecord::TestFixture#uses_transaction by using example description to replace example name rather than example in our monkey patched run_in_transaction? method. (Stan Lo, #2495)
  • Prevent keyword arguments being lost when methods are invoked dynamically in controller specs. (Josh Cheek, #2509, #2514)

5.0.1 / 2021-03-18

Full Changelog

Bug Fixes:

  • Limit multibyte example descriptions when used in system tests for #method_name which ends up as screenshot names etc. (@y-yagi, #2405, #2487)

5.0.0 / 2021-03-09

Full Changelog

Enhancements:

  • Support new #file_fixture_path and new fixture test support code. (Jon Rowe, #2398)
  • Support for Rails 6.1. (Benoit Tigeot, Jon Rowe, Phil Pirozhkov, and more #2398)

... (truncated)

Commits
  • 5a19c72 Remove changes from main that were not supposed to be included
  • 0513a33 Version 5.1.0
  • 42c16a3 Version 5.0.3
  • 6eb0459 Synchronise with main
  • 96e2b15 Changelog for #2566
  • 895f14e Merge pull request #2566 from rspec/ruby-31-mailer-fixes
  • d9dc770 Fix mailer argument deserialisation for 6.1 on Ruby 3.1
  • 36ce639 Merge pull request #2565 from rspec/upgrade-ffi-for-5-1
  • 0672ddc Upgrade FFI now its safe to do so
  • fae1360 Fix arguments for have_enqueued_mail matcher
  • Additional commits viewable in compare view

Merge request reports