From 7f3ee7fb94f20f7eefeedc3f27581b91cac52735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 21 Dec 2021 03:51:15 +0000 Subject: [PATCH] Make sure the railtie is loaded --- gemfiles/rails_6_1.gemfile | 4 ++-- test/test_helper.rb | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gemfiles/rails_6_1.gemfile b/gemfiles/rails_6_1.gemfile index 4081723..d285626 100644 --- a/gemfiles/rails_6_1.gemfile +++ b/gemfiles/rails_6_1.gemfile @@ -3,8 +3,8 @@ source "https://rubygems.org" gem "rake" -gem "mocha", :require => false +gem "mocha", require: false gem "appraisal" gem "rails", "~> 6.1.0" -gemspec :path => "../" +gemspec path: "../" diff --git a/test/test_helper.rb b/test/test_helper.rb index 1a230fd..5fb9e7c 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,7 @@ require "bundler/setup" +require "rails" + require "jbuilder" require "active_support/core_ext/array/access"