More testing fixes

This commit is contained in:
Jonathan Abbett 2021-04-15 14:51:01 -04:00
parent 71e201feab
commit f0e572d06d
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ group :development, :test do
end
group :test do
gem 'puma'
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'

View File

@ -14,7 +14,7 @@ module Dummy
# -- all .rb files in that directory are automatically loaded.
# For Rails 5.2 - 6.0, we need to set this configuration
if (Rails::VERSION::MAJOR == 5 && Rails::VERSION::MINOR > 1) || (Rails::VERSION::MAJOR == 6 && Rails::VERSION::MINOR < 2)
if (Rails::VERSION::MAJOR == 5 && Rails::VERSION::MINOR > 1) || (Rails::VERSION::MAJOR == 6 && Rails::VERSION::MINOR < 1)
config.active_record.sqlite3.represent_boolean_as_integer = true
end
end