spec/cli/restart_spec.rb in travis-1.4.0 vs spec/cli/restart_spec.rb in travis-1.5.0

- old
+ new

@@ -1,15 +1,15 @@ require 'spec_helper' describe Travis::CLI::Open do example 'travis restart' do - run_cli('restart').should be_success + run_cli('restart', '-t', 'token').should be_success $params['build_id'].should be == "4125095" $params['job_id'].should be_nil end example 'travis restart 6180.1' do - run_cli('restart', '6180.1').should be_success + run_cli('restart', '6180.1', '-t', 'token').should be_success $params['build_id'].should be_nil $params['job_id'].should be == "4125096" end end \ No newline at end of file