Sha256: 0ab152c57d84de4879dd5dcd71bdcbb9a94cce9f7883b914757d20d438975e79

Contents?: true

Size: 659 Bytes

Versions: 1

Compression:

Stored size: 659 Bytes

Contents

require "vultr"
require "minitest/autorun"

describe Vultr::StartupScript do

  let(:startupscript) { Vultr::StartupScript }

  it 'needs to verify list snapshot url' do
    url = startupscript._list

    url.must_equal "https://api.vultr.com/v1/startupscript/list?api_key=api_key_required"
  end

  it "needs to verify destroy snapshot url" do
    url = startupscript._destroy

    url.must_equal "https://api.vultr.com/v1/startupscript/destroy?api_key=api_key_required"
  end

  it "needs to verify create snapshot url" do
    url = startupscript._create

    url.must_equal "https://api.vultr.com/v1/startupscript/create?api_key=api_key_required"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vultr-0.2.0 test/vultr/test_vultr_startupscript.rb