-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Make rspec-rails compatible with Rails v6.1.0.rc2 #2408
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
Conversation
- ruby: ruby-3.0.0-preview1 | ||
allow_failure: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're adding Rails master builds as well as rc builds master should be allowed to fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
gsub_file 'spec/support/default_preview_path', | ||
/ExampleApp/, | ||
Rails.application.class.parent.to_s | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm convinced these are still needed, its just the Rails 6.1 implementation might need to change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I deep dive a little bit on this few weeks ago. The Rails.application.class.parent
on previous Rails is ExampleApp
. So I didn't understand why the gsub was needed.
Also if the CI pass isn't what we want?
Closing as this has been mostly merged. |
This PR add:
Answer: #2398 (comment)