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 #386

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 2, 2024

This PR contains the following updates:

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

Release Notes

rspec/rspec-rails (rspec-rails)

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 most. (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 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.

Copy link
Contributor Author

renovate bot commented Sep 2, 2024

⚠️ 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: audiences/Gemfile.lock
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...

Could not find compatible versions

Because rails >= 6.1.7, < 6.1.7.1 depends on railties = 6.1.7
  and rails >= 6.1.7.1, < 6.1.7.2 depends on railties = 6.1.7.1,
  rails >= 6.1.7, < 6.1.7.2 requires railties = 6.1.7 OR = 6.1.7.1.
And because rails >= 6.1.7.2, < 6.1.7.3 depends on railties = 6.1.7.2
  and rails >= 6.1.7.3, < 6.1.7.4 depends on railties = 6.1.7.3,
rails >= 6.1.7, < 6.1.7.4 requires railties = 6.1.7 OR = 6.1.7.1 OR = 6.1.7.2
OR = 6.1.7.3.
And because rails >= 6.1.7.4, < 6.1.7.5 depends on railties = 6.1.7.4
  and rails >= 6.1.7.5, < 6.1.7.6 depends on railties = 6.1.7.5,
rails >= 6.1.7, < 6.1.7.6 requires railties = 6.1.7 OR = 6.1.7.1 OR = 6.1.7.2
OR = 6.1.7.3 OR = 6.1.7.4 OR = 6.1.7.5.
And because rails >= 6.1.7.6, < 6.1.7.7 depends on railties = 6.1.7.6
  and rails >= 6.1.7.7, < 6.1.7.8 depends on railties = 6.1.7.7,
rails >= 6.1.7, < 6.1.7.8 requires railties = 6.1.7 OR = 6.1.7.1 OR = 6.1.7.2
OR = 6.1.7.3 OR = 6.1.7.4 OR = 6.1.7.5 OR = 6.1.7.6 OR = 6.1.7.7.
And because rails >= 6.1.7.8, < 7.0.0.alpha1 depends on railties = 6.1.7.8
  and rspec-rails >= 7.0.0 depends on railties >= 7.0,
  rspec-rails >= 7.0.0 is incompatible with rails >= 6.1.7, < 7.0.0.alpha1.
So, because Gemfile depends on rails ~> 6.1.7.0
  and Gemfile depends on rspec-rails ~> 7.0.0,
  version solving has failed.

@renovate renovate bot force-pushed the renovate/rspec-rails-7.x branch 5 times, most recently from 87dce5c to 3264741 Compare September 3, 2024 20:33
@renovate renovate bot force-pushed the renovate/rspec-rails-7.x branch 9 times, most recently from 9524cfa to 51ad600 Compare October 11, 2024 17:22
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