Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency rspec-rails to v7 #529

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rspec-rails (changelog) "~>5.1" -> "~>7.0" age adoption passing confidence

Release Notes

rspec/rspec-rails (rspec-rails)

v7.1.0

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.2

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.1

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)

v7.0.0

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.5

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.4

Compare Source

v6.1.3

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.2

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.1

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.1.0

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.4

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.3

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.2

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.1

Compare Source

Full Changelog

Bug Fixes:

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

v6.0.0

Compare Source

Full Changelog

Enhancements:

  • Support Rails 7
  • Template tweaks to remove instance variables from generated specs. (Takuma Ishikawa, #​2599)
  • Generators now respects default path configuration option. (@​vivekmiyani, #​2508)

Breaking Changes:

  • Drop support for Rails below 6.1
  • Drop support for Ruby below 2.5 (following supported versions of Rails 6.1)
  • Change the order of after_teardown from after to around in system
    specs to improve compatibility with extensions and Capybara. (Tim Diggins, #​2596)

Deprecations:

  • Deprecates integration spec generator (rspec:integration)
    which was an alias of request spec generator (rspec:request)
    (Luka Lüdicke, #​2374)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants