Skip to content

Update dependency rspec-rails to v8 - #80

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rspec-rails-8.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rspec-rails-8.x

Conversation

@renovate

@renovate renovate Bot commented Jul 5, 2025

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
rspec-rails (changelog) '~> 5.1.0''~> 8.0.0' age confidence

Release Notes

rspec/rspec-rails (rspec-rails)

v8.0.4

Compare Source

Full Changelog

Released to relax version constraint for rspec to allow 4.0.0.beta1.

v8.0.3

Compare Source

Full Changelog

Bug Fixes:

  • Fix insertion order of controller prefix in the view lookup_context. (Stephen Nelson, #​2749)
  • Ensure rails stats looks for specs using application root rather than working directory.
    (Marvin Tangpos, #​2879)

v8.0.2

Compare Source

Full Changelog

Bug Fixes:

  • Fix scaffold generator producing deprecated Rack http statuses.
    (Taketo Takashima, #​2860)

v8.0.1

Compare Source

Full Changelog

Bug Fixes:

  • Fix scaffold generator producing deprecated Rack http statuses.
    (Taketo Takashima, #​2860)

v8.0.0

Compare Source

Full Changelog

Bug Fixes:

  • Make the have_been_performed / have_been_enqueued return false for
    supports_block_expectations? as they don't supporting block expectations.
    (Sam Kidman, #​2851)

v7.1.1

Compare Source

Full Changelog

Enhancements:

  • Add Rails 8 authentication generator support. (Jerome Dalbert, #​2811)
  • Improve install generator comment for ActiveRecord::Migration.maintain_test_schema!
    (#​2832)
  • Add support for served_by in system specs. (Sam Giffney, #​2841)

Breaking Changes:

  • Minimum supported Rails version is 7.2.0

v7.1.0

Compare Source

Full Changelog

Bug Fixes:

  • Check wether rspec-mocks has been loaded before enabling signature
    verification for have_enqueued_job et al (Jon Rowe, #​2823)

v7.0.2

Compare Source

Full Changelog

Enhancements:

  • Improve implicit description for ActionCable matchers have_broadcasted_to /
    have_broadcast. (Simon Fish, #​2795)
  • Comment out infer_spec_type_from_file_location! in newly generated
    rails_helper.rb files. (Jon Rowe, #​2804)
  • Allow turning off active job / mailer argument validation.
    (Oli Peate, #​2808)

v7.0.1

Compare Source

Full Changelog

Bug Fixes:

  • Fix issue with have_enqueued_mail when jobs were incorrectly matched due
    to refactoring in #​2780. (David Runger, #​2793)

v7.0.0

Compare Source

Full Changelog

Bug Fixes:

  • Remove mutation of Rails constant in favour of public api. (Petrik de Heus, #​2789)
  • Cleanup Rails scaffold for unsupported versions. (Matt Jankowski, #​2790)
  • Remove deprecated scaffold that was unintentionally included in 7.0.0
    (Jon Rowe, #​2791)

v6.1.5

Compare Source

Full Changelog

Enhancements:

  • Change default driver for system specs on Rails 7.2 to match its default.
    (Steve Polito, #​2746)
  • Verify ActiveJob arguments by comparing to the method signature. (Oli Peate, #​2745)
  • Add suggestion to rails_helper.rb to skip when not in test mode. (Glauco Custódio, #​2751)
  • Add at_priority qualifier to have_enqueued_job set of matchers. (mbajur, #​2759)
  • Add spec directories to rails stats on Rails main / 8.0.0. (Petrik de Heus, #​2781)

v6.1.4

Compare Source

Full Changelog

Bug Fixes:

  • Restore old order of requiring support files. (Franz Liedke, #​2785)
  • Prevent running rake spec:statsetup on Rails main / 8.0.0. (Petrik de Heus, #​2781)

v6.1.3

Compare Source

Full Changelog

Bug Fixes:

  • Prevent have_http_status matcher raising an error when encountering a raw Rack::MockResponse.
    (Christophe Bliard, #​2771)
  • Move Rails version conditional from index scaffold generated file to template. (Matt Jankowski, #​2777)

v6.1.2

Compare Source

Full Changelog

Bug Fixes:

  • Reset ActiveSupport::CurrentAttributes between examples. (Javier Julio, #​2752)
  • Fix a broken link in generated mailer previews. (Chiara Núñez, #​2764)
  • Fix have_status_code behaviour with deprecated status names by delegating
    to Rack::Utils.status_code/1 to set the expected status code. (Darren Boyd, #​2765)

v6.1.1

Compare Source

Full Changelog

Bug Fixes:

  • Fix generated mailer paths to match Rails convention. (Patrício dos Santos, #​2735)
  • Fix class in template for generator specs. (Nicolas Buduroi, #​2744)

v6.1.0

Compare Source

Full Changelog

Bug Fixes:

  • Improved deprecation message for RSpec::Rails::Configuration.fixture_paths
    (Benoit Tigeot, #​2720)
  • Fix support for namespaced fixtures in Rails 7.1. (Benedikt Deicke, #​2716)

v6.0.4

Compare Source

Full Changelog

Enhancements:

  • Support for Rails 7.1
  • Minor tweak to generated rails_helper.rb to use Rails.root.join.
    (@​masato-bkn, Ryo Nakamura, #​2640, #​2678)
  • Add RSpec::Rails::Configuration.fixture_paths configuration to support
    the matching change to ActiveRecord::TestFixtures, previous singular
    form is deprecated and will be removed in Rails 7.2. (Juan Gueçaimburu, #​2673)
  • Add send_email matcher to match emails rather than specific jobs.
    (Andrei Kaleshka, #​2670)
  • When using render in view specs, :locals will now be merged into the
    default implicit template, allowing render locals: {...} style calls.
    (Jon Rowe, #​2686)
  • Add support for Rails.config.action_mailer.preview_paths on Rails 7.1/
    (Jon Rowe, #​2706)

v6.0.3

Compare Source

Full Changelog

Bug Fixes:

  • Fuzzy match have_broadcasted_to so that argument matchers can be used.
    (Timothy Peraza, #​2684)
  • Fix fixture warning during :context hooks on Rails main. (Jon Rowe, #​2685)
  • Fix stub_template on Rails main. (Jon Rowe, #​2685)
  • Fix variable name in scaffolded view specs when namespaced. (Taketo Takashima, #​2694)
  • Prevent take_failed_screenshot producing an additional error through metadata
    access. (Jon Rowe, #​2704)
  • Use ActiveSupport::ExecutionContext::TestHelper on Rails 7+. (Jon Rowe, #​2711)
  • Fix leak of templates stubbed with stub_template on Rails 7.1. (Jon Rowe, #​2714)

v6.0.2

Compare Source

Full Changelog

Bug Fixes:

  • Set ActiveStorage::FixtureSet.file_fixture_path when including file fixture support.
    (Jason Yates, #​2671)
  • Allow broadcast_to matcher to take Symbols. (@​Vagab, #​2680)

v6.0.1

Compare Source

Full Changelog

Bug Fixes:

  • Fix ActionView::PathSet when render_views is off for Rails 7.1.
    (Eugene Kenny, Iliana, #​2631)
  • Support Rails 7.1's #fixtures_paths in example groups (removes a deprecation warning).
    (Nicholas Simmons, #​2664)
  • Fix have_enqueued_job to properly detect enqueued jobs when other jobs were
    performed inside the expectation block. (Slava Kardakov, Phil Pirozhkov, #​2573)

v6.0.0

Compare Source

Full Changelog

Bug Fixes:

  • Prevent tagged logged support in Rails 7 calling #name. (Jon Rowe, #​2625)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 2am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Jul 5, 2025
@renovate

renovate Bot commented Jul 5, 2025

Copy link
Copy Markdown
Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Gemfile.lock
[00:36:44.911] INFO (1454): Installing tool ruby@3.0.3...
/usr/local/containerbase/tools/v2/ruby.sh: line 80: /etc/gemrc: Permission denied
[00:36:45.539] ERROR (1454): Command failed with exit code 1: bash /usr/local/containerbase/bin/v2-install-tool.sh install ruby 3.0.3
[00:36:45.540] FATAL (1454): Install tool ruby failed in 639ms.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants