diff --git a/test/test_helper.rb b/test/test_helper.rb index 90cd778..12fffe9 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,11 @@ ENV['RAILS_ENV'] = 'test' require 'rubygems' -require 'test/unit' +begin + gem 'test-unit', '~> 2.0' +rescue Gem::LoadError + require 'test/unit' +end require 'action_controller' require 'active_record' require 'action_view'