Test::Unit 2.0 compatability
This commit is contained in:
parent
e5899343b0
commit
272c102f95
@ -1,7 +1,11 @@
|
|||||||
ENV['RAILS_ENV'] = 'test'
|
ENV['RAILS_ENV'] = 'test'
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'test/unit'
|
begin
|
||||||
|
gem 'test-unit', '~> 2.0'
|
||||||
|
rescue Gem::LoadError
|
||||||
|
require 'test/unit'
|
||||||
|
end
|
||||||
require 'action_controller'
|
require 'action_controller'
|
||||||
require 'active_record'
|
require 'active_record'
|
||||||
require 'action_view'
|
require 'action_view'
|
||||||
|
Loading…
Reference in New Issue
Block a user