Sha256: 357f9018c72fdda125c2b31a732b89805f2882133f4f84f2143d261e1ee5a2fe

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 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(:data_bag_secret) { should eql(secret) }
  end

  describe "#find" do
    pending
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ridley-0.11.0.rc1 spec/unit/ridley/resources/data_bag_resource_spec.rb