Sha256: dcacd65aa42188e1d8e25385362c69c60f32a8fc1580a767cab4560982c0ae02

Contents?: true

Size: 488 Bytes

Versions: 22

Compression:

Stored size: 488 Bytes

Contents

require "spec_helper"
require "fog/brightbox/models/compute/api_client"

describe Fog::Brightbox::Compute::ApiClient do
  include ModelSetup

  subject { service.api_clients.new }

  describe "when asked for collection name" do
    it "responds 'api_clients'" do
      assert_equal "api_clients", subject.collection_name
    end
  end

  describe "when asked for resource name" do
    it "responds 'api_client'" do
      assert_equal "api_client", subject.resource_name
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
fog-brightbox-1.11.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.10.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.9.1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.9.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.8.2 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.8.1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.8.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.7.3 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.7.2 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.7.1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.7.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.6.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.5.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.5.0.rc1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.4.2 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.4.1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.4.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.3.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.2.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-1.1.0 spec/fog/compute/brightbox/api_client_spec.rb