lib/torpedo/compute/helper.rb in torpedo-1.0.4 vs lib/torpedo/compute/helper.rb in torpedo-1.0.5
- old
+ new
@@ -1,5 +1,9 @@
-require 'test-unit-ext'
+if RUBY_VERSION =~ /^1.9.*/ then
+ gem 'test-unit'
+else
+ require 'test-unit-ext'
+end
require 'test/unit'
gem 'openstack-compute', OPENSTACK_COMPUTE_VERSION
require 'openstack/compute'
module Torpedo