Skip to content

fix specs for ruby 3 treatment of hash arg#779

Closed
timdiggins wants to merge 2 commits into
rails:mainfrom
timdiggins:fix-ruby-30-specs
Closed

fix specs for ruby 3 treatment of hash arg#779
timdiggins wants to merge 2 commits into
rails:mainfrom
timdiggins:fix-ruby-30-specs

Conversation

@timdiggins

Copy link
Copy Markdown
Contributor

Just fixes ruby 3.0+ failures with specs expecting intracoversion between final hash argument and keyword args.

running `rspec spec/line_editor_spec.rb` generated a double error
when it tries to re require "readline"
This was referenced Mar 4, 2022
@voxik

voxik commented Mar 10, 2022

Copy link
Copy Markdown

Just FTR, this is not Ruby 3.x, but rspec/rspec-mocks#1394 / rspec/rspec-mocks#1460

@timdiggins

Copy link
Copy Markdown
Contributor Author

@voxik Ah! thanks - makes sense - feel free to rename to make more sense.

@timdiggins

Copy link
Copy Markdown
Contributor Author

I'm closing this in favour of joint PR #780 as per #781 (comment)

@timdiggins timdiggins closed this Mar 11, 2022
@timdiggins timdiggins deleted the fix-ruby-30-specs branch June 16, 2022 10:06
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.

2 participants