From 0681ed2895500d821047c0567a220d0851efe940 Mon Sep 17 00:00:00 2001 From: Chris Colvard Date: Fri, 6 Apr 2018 10:57:26 -0400 Subject: [PATCH] Loosen test for rails to capture all 5.x versions --- Gemfile | 2 +- hydra-core/hydra-core.gemspec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index b090ea3cd..94a64def3 100644 --- a/Gemfile +++ b/Gemfile @@ -44,6 +44,6 @@ else end # END ENGINE_CART BLOCK -if !ENV['RAILS_VERSION'] || ENV['RAILS_VERSION'] =~ /^5.0/ +if !ENV['RAILS_VERSION'] || ENV['RAILS_VERSION'] =~ /^5/ gem 'rails-controller-testing' end diff --git a/hydra-core/hydra-core.gemspec b/hydra-core/hydra-core.gemspec index e1065b172..388b85b0e 100644 --- a/hydra-core/hydra-core.gemspec +++ b/hydra-core/hydra-core.gemspec @@ -23,5 +23,6 @@ Gem::Specification.new do |gem| gem.add_development_dependency 'sqlite3', '~> 1.3' gem.add_development_dependency 'rspec-rails', '~> 3.1' + gem.add_development_dependency 'rails-controller-testing', '~> 1' gem.add_development_dependency 'factory_bot_rails', '~> 4.8.2' end