From f0e572d06d1ca9653c5ab71f95d3fc92e77ad16f Mon Sep 17 00:00:00 2001 From: Jonathan Abbett Date: Thu, 15 Apr 2021 14:51:01 -0400 Subject: [PATCH] More testing fixes --- Gemfile | 1 + test/dummy/config/application.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 584147a..d9b40f4 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb index e46b206..fdc8bed 100644 --- a/test/dummy/config/application.rb +++ b/test/dummy/config/application.rb @@ -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