spec/lib/cli_spec.rb in ufo-3.5.7 vs spec/lib/cli_spec.rb in ufo-4.0.0

- old
+ new

@@ -6,16 +6,16 @@ describe "ufo" do context "docker" do it "build builds image" do out = execute("exe/ufo docker build #{@args}") - expect(out).to include("docker build -t tongueroo/hi") + expect(out).to include("docker build -t tongueroo/demo-ufo") end it "tag shows the tag" do out = execute("exe/ufo docker name #{@args}") - expect(out).to match(%r{tongueroo/hi:ufo-.{7}}) + expect(out).to match(%r{tongueroo/demo-ufo:ufo-.{7}}) end end context "tasks" do before(:each) do @@ -37,20 +37,20 @@ end end context "ship" do it "deploys software" do - out = execute("exe/ufo ship hi-web-prod #{@args} --no-wait") + out = execute("exe/ufo ship demo-web-prod #{@args} --no-wait") # cannot look for Software shipped! because # ship.deploy unless ENV['TEST'] # to allow me to quickly test CLI portion only # just testing the CLI portion. The ship class itself is tested via ship_spec.rb expect(out).to include("Task Definitions built") end end context "ships" do it "deploys software to multiple services" do - out = execute("exe/ufo ships hi-web-prod hi-worker-prod #{@args} --no-wait") + out = execute("exe/ufo ships demo-web-prod demo-worker-prod #{@args} --no-wait") # cannot look for Software shipped! because # ship.deploy unless ENV['TEST'] # to allow me to quickly test CLI portion only # just testing the CLI portion. The ship class itself is tested via ship_spec.rb expect(out).to include("Task Definitions built") end