spec/support/fake_api.rb in travis-1.5.1 vs spec/support/fake_api.rb in travis-1.5.2

- old
+ new

@@ -725,9 +725,14 @@ post '/requests' do $params = params "{}" end + post '/:entity/:id/cancel' do + $params = params + {} + end + post '/auth/github' do halt(403) unless params[:github_token] == 'github_token' { 'access_token' => 'token' }.to_json end end