spec/shelly/cli/main_spec.rb in shelly-0.1.22 vs spec/shelly/cli/main_spec.rb in shelly-0.1.23
- old
+ new
@@ -33,11 +33,10 @@
shelly config <command> # Manage application configuration files
shelly console # Open application console
shelly dbconsole # Run rails dbconsole
shelly delete # Delete the cloud
shelly deploys <command> # View deploy logs
- shelly execute CODE # Run code on one of application servers
shelly files <command> # Upload and download files to and from persistent storage
shelly help [TASK] # Describe available tasks or one specific task
shelly info # Show basic information about cloud
shelly list # List available clouds
shelly login [EMAIL] # Log into Shelly Cloud
@@ -775,11 +774,10 @@
$stdout.should_receive(:puts).with(" Deployed commit sha: 52e65ed2d085eaae560cdb81b2b56a7d76")
$stdout.should_receive(:puts).with(" Deployed commit message: Commit message")
$stdout.should_receive(:puts).with(" Deployed by: megan@example.com")
$stdout.should_receive(:puts).with(" Repository URL: git@winniecloud.net:example-cloud")
$stdout.should_receive(:puts).with(" Web server IP: 22.22.22.22")
- $stdout.should_receive(:puts).with(" Mail server IP: 11.11.11.11")
$stdout.should_receive(:puts).with(" Statistics:")
$stdout.should_receive(:puts).with(" app1:")
$stdout.should_receive(:puts).with(" Load average: 1m: 0.04, 5m: 0.15, 15m: 0.13")
$stdout.should_receive(:puts).with(" CPU: 0.8%, MEM: 74.1%, SWAP: 2.8%")
invoke(@main, :info)
@@ -794,11 +792,10 @@
$stdout.should_receive(:puts).with(" Deployed commit sha: 52e65ed2d085eaae560cdb81b2b56a7d76")
$stdout.should_receive(:puts).with(" Deployed commit message: Commit message")
$stdout.should_receive(:puts).with(" Deployed by: megan@example.com")
$stdout.should_receive(:puts).with(" Repository URL: git@winniecloud.net:example-cloud")
$stdout.should_receive(:puts).with(" Web server IP: 22.22.22.22")
- $stdout.should_receive(:puts).with(" Mail server IP: 11.11.11.11")
$stdout.should_receive(:puts).with(" Statistics:")
$stdout.should_receive(:puts).with(" app1:")
$stdout.should_receive(:puts).with(" Load average: 1m: 0.04, 5m: 0.15, 15m: 0.13")
$stdout.should_receive(:puts).with(" CPU: 0.8%, MEM: 74.1%, SWAP: 2.8%")
invoke(@main, :info)
@@ -812,11 +809,10 @@
$stdout.should_receive(:puts).with(" Deployed commit sha: 52e65ed2d085eaae560cdb81b2b56a7d76")
$stdout.should_receive(:puts).with(" Deployed commit message: Commit message")
$stdout.should_receive(:puts).with(" Deployed by: megan@example.com")
$stdout.should_receive(:puts).with(" Repository URL: git@winniecloud.net:example-cloud")
$stdout.should_receive(:puts).with(" Web server IP: 22.22.22.22")
- $stdout.should_receive(:puts).with(" Mail server IP: 11.11.11.11")
$stdout.should_receive(:puts).with(" Statistics:")
$stdout.should_receive(:puts).with(" app1:")
$stdout.should_receive(:puts).with(" Load average: 1m: 0.04, 5m: 0.15, 15m: 0.13")
$stdout.should_receive(:puts).with(" CPU: 0.8%, MEM: 74.1%, SWAP: 2.8%")
invoke(@main, :info)
@@ -850,10 +846,9 @@
"deployed_commit_message" => "Commit message",
"deployed_commit_sha" => "52e65ed2d085eaae560cdb81b2b56a7d76",
"repository_url" => "git@winniecloud.net:example-cloud",
"deployed_push_author" => "megan@example.com"
},
- "mail_server_ip" => "11.11.11.11",
"web_server_ip" => "22.22.22.22" }.merge(options)
end
end
describe "#setup" do