Sha256: b398634216885d7fec1604e7579ca6098efa9f18674f60314468d0306b8a98b2

Contents?: true

Size: 614 Bytes

Versions: 1

Compression:

Stored size: 614 Bytes

Contents

require "vultr"
require "minitest/autorun"

describe Vultr::Snapshot do

  let(:snapshot) { Vultr::Snapshot }

  it "needs to verify list snapshot url" do
    url = snapshot._list

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

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

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vultr-0.1.1 test/vultr/test_vultr_snapshot.rb