Sha256: 4888257acfe30a08ca12f5438efcbff587aaba8cd2a71dd0f58be49baa7e1398
Contents?: true
Size: 590 Bytes
Versions: 47
Compression:
Stored size: 590 Bytes
Contents
require File.expand_path '../../test_helper', __dir__ # Test class for Get Available IP Address Count class TestGetAvailableIPAddressesCount < Minitest::Test def setup @service = Fog::Network::AzureRM.new(credentials) end def test_get_available_ipaddresses_count_success assert_equal @service.get_available_ipaddresses_count('fog-test-subnet', '10.0.0.0/24', [], false), 254 end def test_get_available_ipaddresses_count_argument_error assert_raises ArgumentError do @service.get_available_ipaddresses_count('fog-test-subnet', '10.0.0.0/24') end end end
Version data entries
47 entries across 47 versions & 4 rubygems