test/solusvm/test_server.rb in solusvm-1.3.1 vs test/solusvm/test_server.rb in solusvm-1.4.0

- old
+ new

@@ -226,9 +226,16 @@ assert_equal 'thetype', info['type'] assert_equal 'theconsoleip', info['consoleip'] assert_equal 'theconsoleport', info['consoleport'] assert_equal 'theconsolepassword', info['consolepassword'] assert_equal 'theconsoleusername', info['consoleusername'] + + # with the optional parameters + VCR.use_cassette "server/console" do + @server.console(1, access: "admin", time: 1) + end + # a check to see if it returned a expected parameter even with the optional parameter + assert_equal 'thetype', @server.returned_parameters['type'] end def test_info_all VCR.use_cassette "server/info_all" do @server.info_all(1)