Gemfile: Require 'test-unit' only when needed.

This commit is contained in:
jonatack 2015-01-08 00:54:24 +01:00
parent b2821db8e5
commit 73cda0da42
1 changed files with 1 additions and 1 deletions

View File

@ -46,5 +46,5 @@ end
# Removed from Ruby 2.2 but needed for testing Rails 3.x.
group :test do
gem 'test-unit', '~> 3.0'
gem 'test-unit', '~> 3.0' if RUBY_VERSION >= '2.2'
end