I made few additional fixes.
First of all, I found why one spec was failing for me in both master and rails6 branch - FIX: Freezed time used in update_holiday_usernames_spec.rb should be UTC by KrisKotlarek · Pull Request #3 · discourse/discourse-calendar · GitHub
I also created pull requests for deprecated methods in various plugins:
- FIX: Remove update_attributes! which is deprecated in Rails 6.0.0 by KrisKotlarek · Pull Request #8 · discourse/discourse-github · GitHub
- FIX: Remove update_attributes! which is deprecated in Rails 6.0.0 by KrisKotlarek · Pull Request #28 · discourse/discourse-cakeday · GitHub
- FIX: Remove update_attributes! which is deprecated in Rails 6.0.0 by KrisKotlarek · Pull Request #23 · discourse/discourse-translator · GitHub
- FIX: Remove update_attributes which is deprecated in Rails 6.0.0 by KrisKotlarek · Pull Request #1 · discourse/discourse-user-card-badges · GitHub
- FIX: Update deprecated methods in Rails 6.0.0 by KrisKotlarek · Pull Request #1 · discourse/discourse-yearly-review · GitHub - this one was tricky and I am not 100% sure that this is correct
I rebased latest master into rails6 branch
Finally, I updated rspec-rails to version 4.0.0.beta2 and it works fine on my local machine. Travis got some problems, however I see same problems in other pull requests so I don’t think this is correlated to upgrade of rspec-rails.