Sha256: d95f1342bd23b9bef5aec341d23b5bd55e2c1fec88feffd0a1b1c13a2e58df3e

Contents?: true

Size: 440 Bytes

Versions: 55

Compression:

Stored size: 440 Bytes

Contents

require 'spec_helper'

describe Ridley::DataBagResource do
  let(:secret) { "supersecretkey" }
  let(:instance) { described_class.new(double, secret) }

  describe "#item_resource" do
    subject { instance.item_resource }

    it "returns a DataBagItemResource" do
      subject.should be_a(Ridley::DataBagItemResource)
    end

    its(:encrypted_data_bag_secret) { should eql(secret) }
  end

  describe "#find" do
    pending
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
ridley-4.2.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-4.1.2 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-4.1.1 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-4.1.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-4.0.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-3.1.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-3.0.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-3.0.0.rc1 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.5.1 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.5.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.4.4 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.4.3 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.4.2 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.4.1 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.4.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.3.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.2.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.1.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-2.0.0 spec/unit/ridley/resources/data_bag_resource_spec.rb
ridley-1.7.1 spec/unit/ridley/resources/data_bag_resource_spec.rb