spec/lib/appsignal/cli_spec.rb in appsignal-1.4.0.beta.1 vs spec/lib/appsignal/cli_spec.rb in appsignal-2.0.0.beta.1

- old
+ new

@@ -33,11 +33,11 @@ ['-v', '--version'].each do |arg| lambda { cli.run([arg]) }.should raise_error(SystemExit) - out_stream.string.should include 'Appsignal' + out_stream.string.should include 'AppSignal' out_stream.string.should include '.' end end it "should print a notice if a command does not exist" do @@ -67,26 +67,9 @@ ) cli.run([ 'install', 'api-key' - ]) - end - end - - describe "notify_of_deploy" do - it "should call Appsignal::Install.install" do - Appsignal::CLI::NotifyOfDeploy.should_receive(:run).with( - {:revision=>"aaaaa", :user=>"thijs", :environment=>"production"}, - instance_of(Appsignal::Config) - ) - - cli.run([ - 'notify_of_deploy', - '--name=project-production', - '--revision=aaaaa', - '--user=thijs', - '--environment=production' ]) end end end