spec/support/fake_api.rb in travis-1.4.0 vs spec/support/fake_api.rb in travis-1.5.0
- old
+ new
@@ -713,9 +713,16 @@
'type' => 'user',
'repos_count' => 200
}]}.to_json
end
+ get '/broadcasts/' do
+ {"broadcasts"=>
+ [{'id' => 1,
+ 'message' => 'Hello!'
+ }]}.to_json
+ end
+
post '/requests' do
$params = params
"{}"
end