Sha256: 136c5fe251e72d00a28f82755288b4e0f325d7108acb02611607bd2939169c86

Contents?: true

Size: 488 Bytes

Versions: 30

Compression:

Stored size: 488 Bytes

Contents

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

describe Fog::Compute::Brightbox::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

30 entries across 28 versions & 3 rubygems

Version Path
fog-brightbox-0.6.1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.6.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.5.1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.5.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.4.1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.4.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.3.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.2.0 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.1.1 spec/fog/compute/brightbox/api_client_spec.rb
fog-brightbox-0.1.0 spec/fog/compute/brightbox/api_client_spec.rb