Sha256: 4d7052f6d179212ea7e828249a4328c855802df8b069abbabdd9163aca8c00a5

Contents?: true

Size: 393 Bytes

Versions: 4

Compression:

Stored size: 393 Bytes

Contents

require "spec_helper"
require "chef/cookbook_manifest"

describe Berkshelf::RidleyCompat do
  let(:opts) { Hash.new }

  subject { described_class.new(opts) }

  context "default" do
    it "has a cookbook version_class" do
      expect(subject.options).to have_key(:version_class)
      expect(subject.options[:version_class])
        .to eq(Chef::CookbookManifestVersions)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
berkshelf-7.0.8 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-7.0.7 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-7.0.6 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-7.0.5 spec/unit/berkshelf/ridley_compat_spec.rb