spec/lib/cli_spec.rb in jack-eb-1.1.2 vs spec/lib/cli_spec.rb in jack-eb-1.2.0
- old
+ new
@@ -15,17 +15,17 @@
expect(out).to include('--keyname "default"')
expect(out).to include('hi-web-stag-1')
end
it "should upload and apply config to environment" do
- out = execute("bin/jack config upload #{@args}")
+ out = execute("bin/jack config apply #{@args}")
# puts out
expect(out).to include('eb config save')
end
it "should download config from environment" do
- out = execute("bin/jack config download #{@args}")
+ out = execute("bin/jack config get #{@args}")
# puts out
expect(out).to include("Config downloaded")
end
it "should diff local config from eb environment config" do
@@ -38,10 +38,16 @@
out = execute("bin/jack config sort #{@args}")
# puts out
expect(out).to include("Reformatted the local config")
end
- it "should terminate enviornment" do
+ it "should deploy environment" do
+ out = execute("bin/jack deploy #{@args}")
+ # puts out
+ expect(out).to include("eb deploy")
+ end
+
+ it "should terminate environment" do
out = execute("bin/jack terminate #{@args}")
# puts out
expect(out).to include("Whew that was close")
end
end