Sha256: f8a67ad1b1fd3b7d271c7d32a504b478e8c30be20c54c736e3a85bbf3fea94af
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
require 'vultr' require 'minitest/autorun' describe Vultr::Region do let(:region) { Vultr::Region } it 'needs to verify list region url' do url = region._list url.must_equal 'https://api.vultr.com/v1/regions/list' end it 'needs to verify availability region url' do DCID = '1234' url = region._availability('DCID' => '1234') url.must_equal "https://api.vultr.com/v1/regions/availability?DCID=#{DCID}" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vultr-0.2.0 | test/vultr/test_vultr_region.rb |