Sha256: e903bb124b9ec3562af8aaff0d3c6cde70cff2ddf81918dfd925b0b21029fd2b

Contents?: true

Size: 788 Bytes

Versions: 17

Compression:

Stored size: 788 Bytes

Contents

require 'spec_helper'

describe Berkshelf::APIClient::RemoteCookbook do
  let(:name) { "ruby" }
  let(:version) { "1.2.3" }
  let(:dependencies) { double('dependencies') }
  let(:platforms) { double('platforms') }
  let(:location_type) { "chef_server" }
  let(:location_path) { "http://localhost:8080" }

  let(:attributes) do
    { dependencies: dependencies, platforms: platforms, location_path: location_path, location_type: location_type }
  end

  subject { described_class.new(name, version, attributes) }

  its(:name) { should eql(name) }
  its(:version) { should eql(version) }
  its(:dependencies) { should eql(dependencies) }
  its(:platforms) { should eql(platforms) }
  its(:location_type) { should eql(:chef_server) }
  its(:location_path) { should eql(location_path) }
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
berkshelf-api-client-4.0.1 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-4.0.0 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-3.0.0 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-2.0.2 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-2.0.1 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.3.1 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-2.0.0 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.3.0 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.2.1 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.2.0 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.2.0.rc2 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.2.0.rc1 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.1.1 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.1.0 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-api-client-1.0.0 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-3.0.0.beta4 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-3.0.0.beta3 spec/unit/berkshelf/api_client/remote_cookbook_spec.rb