test/solusvm/test_general.rb in solusvm-1.2.1 vs test/solusvm/test_general.rb in solusvm-1.3.0
- old
+ new
@@ -1,11 +1,10 @@
require 'test_helper'
class TestGeneral < Test::Unit::TestCase
def setup
- setup_solusvm
- @general = Solusvm::General.new
+ @general = Solusvm::General.new(solusvm_params)
end
def test_templates
VCR.use_cassette "general/templates" do
assert_equal %w(template1 template2 template3), @general.templates('xen')
@@ -52,6 +51,6 @@
end
def test_isos_with_invalid_type
assert !@general.isos('whatever')
end
-end
\ No newline at end of file
+end