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

Make rspec-rails compatible with Rails v6.1.0.rc2 #2408

Closed
wants to merge 7 commits into from

Conversation

benoittgt
Copy link
Member

@benoittgt benoittgt commented Dec 3, 2020

This PR add:

  • Rails v6.1.0.rc2 to the CI build
  • Fix 3 errors encountered when running the CI

Answer: #2398 (comment)

- ruby: ruby-3.0.0-preview1
allow_failure: true
Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

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?

Copy link
Member Author

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?

@benoittgt benoittgt mentioned this pull request Dec 9, 2020
3 tasks
@JonRowe
Copy link
Member

JonRowe commented Dec 12, 2020

Closing as this has been mostly merged.

@JonRowe JonRowe closed this Dec 12, 2020
@benoittgt benoittgt deleted the rails-6.1.0.rc2-dev branch March 7, 2021 14:23
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.

None yet

2 participants