Sha256: 2b92d76a68a3a8e606256695243c4dba2e2d6cd7e806e08c6eb8bb2187f40c69
Contents?: true
Size: 478 Bytes
Versions: 8
Compression:
Stored size: 478 Bytes
Contents
require "test_birst_command" class Test_list_spaces < Test::Unit::TestCase def setup Birst_Command::Config.read_config end def teardown end def test_list_spaces spaces = nil Session.start do |bc| unclean_spaces = bc.list_spaces spaces = [unclean_spaces[:user_space]].flatten end assert spaces.is_a?(Array), "Expecting spaces to be an array" assert spaces[0].is_a?(Hash), "Expecting spaces to be an array of hashes" end end
Version data entries
8 entries across 8 versions & 1 rubygems