-
Notifications
You must be signed in to change notification settings - Fork 5
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
Rails 5.2 upgrade #166
Rails 5.2 upgrade #166
Conversation
3421e8c
to
13819a7
Compare
gem 'sass-rails', '~> 5.0' | ||
gem 'slack-notifier', '~> 2.3.2' | ||
gem 'turbolinks', '~> 5' | ||
gem 'uglifier', '>= 1.3.0' | ||
gem 'webpacker', '~> 3.5' | ||
|
||
group :test do | ||
gem 'minitest-rails-capybara' | ||
gem 'capybara', '~> 2.18' |
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.
This capybara gem is not required when using the minitest-rails-capybara
gem.
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.
This is technically correct, but because the gemspec for minitest-rails-capybara includes only capybara 2.7, and System Tests require greater than that, we can manually force a greater version of capybara by explicitly stating it.
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.
That makes sense.
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.
Just a heads up, it looks like minitest-rails-capybara
is no longer being maintained since the system tests were added to rails. Here is the issue containing a blog post from the maintainer.
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.
Great work on this @Tetramputechture!
13819a7
to
61faeb8
Compare
This PR upgrades Storm to Rails 5.2. Dependabot has the necessary gems upgraded in a separate PR (#143), but there was a little more to be done if we wanted our test suite to run, which was a simple Minitest workaround. I also made some changes to our config files, and set them up to be ready for ActiveStorage and CSP!
Tests still pass, and I thoroughly browser tested the site with no errors!