Sha256: d28d50103c3201db02d170f2ebcb3de1427e4401e27542dfe77453493ce9ee52

Contents?: true

Size: 331 Bytes

Versions: 8

Compression:

Stored size: 331 Bytes

Contents

describe Codebuild::Role do
  let(:role) do
    Codebuild::Role.new(role_path: "spec/fixtures/app/.codebuild/role.rb")
  end
  context "general" do
    it "builds up the template in memory" do
      template = role.run
      expect(template.keys).to eq ["IamRole"]
      expect(template["IamRole"]).to be_a(Hash)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
codebuild-0.6.3 spec/lib/role_spec.rb
codebuild-0.6.2 spec/lib/role_spec.rb
codebuild-0.6.1 spec/lib/role_spec.rb
codebuild-0.6.0 spec/lib/role_spec.rb
codebuild-0.5.0 spec/lib/role_spec.rb
codebuild-0.4.0 spec/lib/role_spec.rb
codebuild-0.3.0 spec/lib/role_spec.rb
codebuild-0.2.0 spec/lib/role_spec.rb