Sha256: 9ad14617ea64bf5e06e80c881aa2d29ff6b4e53f27c1024e35e428fe18fe2815

Contents?: true

Size: 358 Bytes

Versions: 14

Compression:

Stored size: 358 Bytes

Contents

require 'spec_helper'

describe Ridley::DataBagObject do
  let(:item_resource) { double('item-resource') }
  let(:resource) { double('db-resource', item_resource: item_resource) }
  subject { described_class.new(resource) }

  describe '#item' do
    subject { super().item }
    it { is_expected.to be_a(Ridley::DataBagObject::DataBagItemProxy) }
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ridley-5.1.1 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-5.1.0 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-5.0.0 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.6.1 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.6.0 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.5.1 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.5.0 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.4.3 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.4.2 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.4.1 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.4.0 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.3.2 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.3.1 spec/unit/ridley/chef_objects/data_bag_object_spec.rb
ridley-4.3.0 spec/unit/ridley/chef_objects/data_bag_object_spec.rb