Skip to content

Commit

Permalink
Merge pull request #70 from feelobot/auth-deploys
Browse files Browse the repository at this point in the history
update spec
  • Loading branch information
feelobot committed Jun 16, 2015
2 parents 2ae01ea + 3e7337a commit cf5e599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/lib/gantree/deploy_version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
:tag => "br-develop_mkemnitz-30b9bf6",
:image_path => "bleacher/carburetor",
:project_root => "spec/fixtures/project/",
:auth => "br-eb-versions/brops.dockercfg"
:auth => "docker-cfgs/brops.dockercfg"
}
@env = "stag-carburetor-app-s1"
@version = Gantree::DeployVersion.new(@options, @env)
@version.set_auth
data = JSON.parse(IO.read("/tmp/#{@version.dockerrun_file}"))
expect(data["Authentication"]["Bucket"]).to eq "br-eb-versions"
expect(data["Authentication"]["Bucket"]).to eq "docker-cfgs"
expect(data["Authentication"]["Key"]).to eq "brops.dockercfg"
end

Expand Down

0 comments on commit cf5e599

Please sign in to comment.