Sha256: 2579acd5211babeeaa2a48729e7e3aae99157fab4565548b956498abbf111f51
Contents?: true
Size: 487 Bytes
Versions: 6
Compression:
Stored size: 487 Bytes
Contents
require 'test/test_helper' class VultrOsTest < Minitest::Test def setup Vultr.api_key = ENV['VULTR_API_KEY'] end def test_os_list_url os_list_url = 'https://api.vultr.com/v1/os/list' assert_equal os_list_url, Vultr::OS._list end def test_os_list_response r = Vultr::OS.list assert r.has_key? :status assert_equal r[:status], 200 assert r.has_key? :result assert_instance_of Hash, r[:result] end def teardown # Do nothing end end
Version data entries
6 entries across 6 versions & 1 rubygems