-
-
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
Changes from 5 commits
ed06a74
ff94e1b
7300e06
5737b93
980669d
7c23e9c
46f8e89
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,10 @@ | |
end | ||
end | ||
CODE | ||
gsub_file 'config/initializers/action_mailer.rb', | ||
/ExampleApp/, | ||
Rails.application.class.parent.to_s | ||
|
||
copy_file 'spec/support/default_preview_path' | ||
chmod 'spec/support/default_preview_path', 0755 | ||
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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. I deep dive a little bit on this few weeks ago. The |
||
if skip_active_record? | ||
comment_lines 'spec/support/default_preview_path', /active_record/ | ||
comment_lines 'spec/support/default_preview_path', /active_storage/ | ||
|
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