spec/unit/microbosh_providers/aws_spec.rb in bosh-bootstrap-0.11.5 vs spec/unit/microbosh_providers/aws_spec.rb in bosh-bootstrap-0.11.6

- old
+ new

@@ -6,11 +6,11 @@ include Bosh::Bootstrap::Cli::Helpers::Settings let(:microbosh_yml) { File.expand_path("~/.microbosh/deployments/micro_bosh.yml")} let(:aws_jenkins_bucket) { "bosh-jenkins-artifacts" } let(:latest_ami_uri) { "http://#{aws_jenkins_bucket}.s3.amazonaws.com/last_successful_micro-bosh-stemcell-aws_ami_us-east-1" } - let(:latest_stemcell_uri) { "http://#{aws_jenkins_bucket}.s3.amazonaws.com/last_successful_micro-bosh-stemcell-aws.tgz" } + let(:latest_stemcell_uri) { "http://#{aws_jenkins_bucket}.s3.amazonaws.com/micro-bosh-stemcell/aws/latest-micro-bosh-stemcell-aws.tgz" } it "creates micro_bosh.yml manifest" do setting "provider.name", "aws" setting "provider.region", "us-west-2" setting "provider.credentials.aws_access_key_id", "ACCESS" @@ -79,9 +79,9 @@ it "downloads latest stemcell and returns path if running in target AWS region" do setting "provider.region", "us-west-2" subject = Bosh::Bootstrap::MicroboshProviders::AWS.new(microbosh_yml, settings) subject.stub(:sh).with("curl -O '#{latest_stemcell_uri}'") - subject.stemcell.should =~ %r{deployments/last_successful_micro-bosh-stemcell-aws.tgz$} + subject.stemcell.should =~ %r{deployments/latest-micro-bosh-stemcell-aws.tgz$} end end end