Sha256: 67655d679185cfb3ba2c2277213ad2ec286650c364a3f1b3ded2fb1686389924

Contents?: true

Size: 389 Bytes

Versions: 12

Compression:

Stored size: 389 Bytes

Contents

require "spec_helper"
require "chef/cookbook_manifest"

describe Berkshelf::RidleyCompat do
  let(:opts) { {} }

  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

12 entries across 12 versions & 1 rubygems

Version Path
berkshelf-8.0.15 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-8.0.13 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-8.0.12 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-8.0.9 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-8.0.7 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-8.0.5 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-8.0.2 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-8.0.1 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-8.0.0 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-7.2.2 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-7.2.1 spec/unit/berkshelf/ridley_compat_spec.rb
berkshelf-7.2.0 spec/unit/berkshelf/ridley_compat_spec.rb