Sha256: e7e2226b4c7f697d68360f654dd61002c30085dd38a82fd9d638d1d9dfd807c8
Contents?: true
Size: 913 Bytes
Versions: 11
Compression:
Stored size: 913 Bytes
Contents
require 'spec_helper' describe SimpleDeploy do describe "an artifact" do before do @artifact = SimpleDeploy::Artifact.new :bucket_prefix => 'test_prefix', :domain => 'us-west-1', :id => 'abc123', :name => 'myapp', :region => 'us-west-1' end it "should return the endpoints for the artifact" do endpoints = { "s3" => "s3://test_prefix-us-west-1/us-west-1/abc123.tar.gz", "http" => "http://s3-us-west-1.amazonaws.com/test_prefix-us-west-1/us-west-1/abc123.tar.gz", "https" => "https://s3-us-west-1.amazonaws.com/test_prefix-us-west-1/us-west-1/abc123.tar.gz" } @artifact.endpoints.should == endpoints end end end
Version data entries
11 entries across 11 versions & 1 rubygems