spec/cli/restart_spec.rb in travis-1.11.1 vs spec/cli/restart_spec.rb in travis-1.12.0
- old
+ new
@@ -1,15 +1,13 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe Travis::CLI::Restart do
example 'travis restart' do
run_cli('restart', '-t', 'token').should be_success
- $params['id'].should be == "4125095"
- $params['entity'].should be == "builds"
end
example 'travis restart 6180.1' do
run_cli('restart', '6180.1', '-t', 'token').should be_success
- $params['entity'].should be == "jobs"
- $params['id'].should be == "4125096"
end
end