Sha256: a08d4351fb43a229e8d781b416242f6da268357ca56888e8fffc841164306353

Contents?: true

Size: 788 Bytes

Versions: 31

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

31 entries across 31 versions & 1 rubygems

Version Path
berkshelf-8.0.15 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-8.0.13 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-8.0.12 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-8.0.9 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-8.0.7 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-8.0.5 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-8.0.2 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-8.0.1 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-8.0.0 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.2.2 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.2.1 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.2.0 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.1.0 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.0.10 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.0.9 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.0.8 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.0.7 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-6.3.4 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.0.6 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb
berkshelf-7.0.5 spec/unit/berkshelf/berkshelf/api_client/remote_cookbook_spec.rb