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