Sha256: e3f494faba4a472152bc1135c5660dc5be5bcee838e2f5301d29a278cb6f161a

Contents?: true

Size: 353 Bytes

Versions: 3

Compression:

Stored size: 353 Bytes

Contents

require 'test_helper'

class VultrOsTest < Minitest::Test
  def setup
    Vultr.api_key = ENV['VULTR_API_KEY']
  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

3 entries across 3 versions & 1 rubygems

Version Path
vultr-0.4.3 test/vultr/vultr_os_test.rb
vultr-0.4.2 test/vultr/vultr_os_test.rb
vultr-0.4.1 test/vultr/vultr_os_test.rb