Sha256: 7e2f400045892d0e332c4c958cdae60ff35b2069e3bbdac6e19e8c7696a0f1f0

Contents?: true

Size: 533 Bytes

Versions: 5

Compression:

Stored size: 533 Bytes

Contents

require 'spec_helper'

describe LinodeAPI do
  it 'has a default endpoint' do
    expect(LinodeAPI::DEFAULT_ENDPOINT).to be_an_instance_of String
  end

  it 'has a spec URL' do
    expect(LinodeAPI::SPEC_URL).to be_an_instance_of String
  end

  it 'makes the spec available' do
    expect(LinodeAPI.spec[:subs]).to be_an_instance_of Hash
    expect(LinodeAPI.spec[:subs][:linode][:subs][:create][:type]).to eql :call
  end

  it 'makes the spec version available' do
    expect(LinodeAPI.spec_version).to match(/[\d.]*/)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
linodeapi-2.0.3 spec/linodeapi_spec.rb
linodeapi-2.0.2 spec/linodeapi_spec.rb
linodeapi-2.0.1 spec/linodeapi_spec.rb
linodeapi-2.0.0 spec/linodeapi_spec.rb
linodeapi-1.0.1 spec/linodeapi_spec.rb