Sha256: 8471d57c7149f41941db3cdb7ec6e85b5ef6da62381fe3f3aeb8dde32e8aca8a

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

require 'test_helper'

class VultrPlanTest < Minitest::Test

  def setup
    Vultr.api_key = ENV['VULTR_API_KEY']
  end

  def test_plan_list_response
    r = Vultr::Plans.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_plan_test.rb
vultr-0.4.2 test/vultr/vultr_plan_test.rb
vultr-0.4.1 test/vultr/vultr_plan_test.rb