spec/engineyard/cli_spec.rb in engineyard-1.4.29 vs spec/engineyard/cli_spec.rb in engineyard-1.7.0.pre2

- old
+ new

@@ -1,19 +1,10 @@ require 'spec_helper' require 'engineyard/cli' describe EY::CLI do - it "sets up EY.ui" do - EY.instance_eval{ @ui = nil } - EY.ui.should be_an(EY::UI) - capture_stdout do - EY::CLI.start(["help"]) - end - EY.ui.should be_an(EY::CLI::UI) - end - it "provides help" do out = capture_stdout do EY::CLI.start(["help"]) end @@ -29,11 +20,9 @@ out.should match(/remove the maintenance page/i) end it "provides error classes" do - EY::EnvironmentError.should be - EY::BranchMismatchError.should be EY::DeployArgumentError.should be end end # EY::CLI