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

Rails 5.2 upgrade #166

Merged
merged 6 commits into from
Oct 29, 2018
Merged

Rails 5.2 upgrade #166

merged 6 commits into from
Oct 29, 2018

Conversation

Tetramputechture
Copy link
Contributor

@Tetramputechture Tetramputechture commented Jul 23, 2018

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!

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'

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.

Copy link
Contributor

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.

Choose a reason for hiding this comment

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

That makes sense.

Copy link

@TheJayWright TheJayWright Jul 24, 2018

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.

blowmage/minitest-rails-capybara#45

Copy link
Contributor

@afomera afomera left a 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants