Sha256: def5bf7aa1fe4825e4b10c43f91e76fde36e7862a2ec0db01411988258f47cdd

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.2.0 test/vultr/test_vultr_snapshot.rb