Sha256: d2a8623f98d0332a1af1e3b41b355452df699c53d9a6c75b0f1b1c57902dca80

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

Contents

require "bosh/cloudfoundry/release_versioned_template"

describe Bosh::Cloudfoundry::ReleaseVersionedTemplate do
  subject { Bosh::Cloudfoundry::ReleaseVersionedTemplate.new(132, "aws", "dev") }
  it "path to template" do
    subject.template_file_path.should =~ %r{v132/aws/dev/deployment_file.yml.erb$}
  end

  it "path to template spec" do
    subject.spec_file_path.should =~ %r{v132/aws/dev/spec$}
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bosh-cloudfoundry-0.7.0.alpha.3 spec/release_versioned_template_spec.rb
bosh-cloudfoundry-0.7.0.alpha.2 spec/release_versioned_template_spec.rb
bosh-cloudfoundry-0.7.0.alpha.1 spec/release_versioned_template_spec.rb