Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Add dual booting configuration to test application with both Rails 6.0 and 6.1 #57

Merged
merged 4 commits into from
Dec 21, 2020

Conversation

etagwerker
Copy link
Member

@etagwerker etagwerker commented Dec 12, 2020

Hey,

This is a PR to check compatibility between Rails 6.0 and 6.1.

The final goal is to upgrade to rails 6.1. The updated goal is to add dual booting to Circle CI.

At the moment it is WIP

Update: It seems that this repo is quite easy to migrate to Rails 6.1.

I've created an issue to address the upgrade itself: #58

Please check it out.

Thanks!

@etagwerker etagwerker marked this pull request as ready for review December 12, 2020 03:49
@etagwerker etagwerker requested a review from a team as a code owner December 12, 2020 03:49
@etagwerker etagwerker requested review from rdormer and removed request for a team December 12, 2020 03:49
@etagwerker etagwerker changed the title Feature/upgrade rails 6 1 Add dual booting configuration to test application with both Rails 6.0 and 6.1 Dec 12, 2020
@etagwerker etagwerker mentioned this pull request Dec 12, 2020
2 tasks
@@ -2,12 +2,8 @@

RSpec.describe "todos/index" do
before do
controller.singleton_class.class_eval do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What this change has to do with dual booting?

Copy link
Member Author

@etagwerker etagwerker Dec 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bronzdoc because this does not work with Rails 6.1. I did some research and it is an old idiom recommended by an old version of rspec-rails. It is no longer recommended and it hasn't been recommended in a while.

It was changed 9+ years ago. rspec/rspec-rails#420

@etagwerker etagwerker merged commit 60e4165 into main Dec 21, 2020
@etagwerker etagwerker deleted the feature/upgrade-rails-6-1 branch December 21, 2020 21:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants