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