Skip to content

Commit

Permalink
Loosen test for rails to capture all 5.x versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcolvar committed Apr 6, 2018
1 parent dea66c0 commit 0681ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions hydra-core/hydra-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0681ed2

Please sign in to comment.