spec/support/fake_api.rb in travis-1.6.7.travis.434.6 vs spec/support/fake_api.rb in travis-1.6.7.travis.441.6
- old
+ new
@@ -64,11 +64,12 @@
"state"=>"passed",
"started_at"=>"2013-01-13T15:55:59Z",
"finished_at"=>"2013-01-13T16:11:04Z",
"queue"=>"builds.rails",
"allow_failure"=>false,
- "tags"=>""},
+ "tags"=>"",
+ "annotation_ids"=>[1]},
"commit"=>
{"id"=>1201631,
"sha"=>"a0265b98f16c6e33be32aa3f57231d1189302400",
"branch"=>"master",
"message"=>"Associaton -> Association",
@@ -76,10 +77,17 @@
"author_name"=>"Steve Klabnik",
"author_email"=>"steve@steveklabnik.com",
"committer_name"=>"Steve Klabnik",
"committer_email"=>"steve@steveklabnik.com",
"compare_url"=>
- "https://github.com/rails/rails/compare/6581d798e830...a0265b98f16c"}}.to_json
+ "https://github.com/rails/rails/compare/6581d798e830...a0265b98f16c"},
+ "annotations"=>
+ [{"id"=>1,
+ "job_id"=>4125097,
+ "description"=>"The job passed.",
+ "provider_name"=>"Travis CI",
+ "url"=>"https://travis-ci.org/rails/rails/jobs/4125097",
+ "status"=>''}]}.to_json
end
get '/builds/4125095' do
{"build"=>
{"id"=>4125095,