v3 update all relevant specs with job_ids payload
This commit is contained in:
parent
288d614977
commit
210f368de4
|
@ -33,7 +33,8 @@ describe Travis::API::V3::Services::Job::Find do
|
||||||
"event_type" => build.event_type,
|
"event_type" => build.event_type,
|
||||||
"previous_state" => build.previous_state,
|
"previous_state" => build.previous_state,
|
||||||
"started_at" => "2010-11-12T13:00:00Z",
|
"started_at" => "2010-11-12T13:00:00Z",
|
||||||
"finished_at" => build.finished_at},
|
"finished_at" => build.finished_at,
|
||||||
|
"job_ids" => build.cached_matrix_ids},
|
||||||
"queue" => job.queue,
|
"queue" => job.queue,
|
||||||
"repository" => {
|
"repository" => {
|
||||||
"@type" => "repository",
|
"@type" => "repository",
|
||||||
|
@ -98,7 +99,8 @@ describe Travis::API::V3::Services::Job::Find do
|
||||||
"event_type" => build.event_type,
|
"event_type" => build.event_type,
|
||||||
"previous_state" => build.previous_state,
|
"previous_state" => build.previous_state,
|
||||||
"started_at" => "2010-11-12T13:00:00Z",
|
"started_at" => "2010-11-12T13:00:00Z",
|
||||||
"finished_at" => build.finished_at},
|
"finished_at" => build.finished_at,
|
||||||
|
"job_ids" => build.cached_matrix_ids},
|
||||||
"queue" => job.queue,
|
"queue" => job.queue,
|
||||||
"repository" => {
|
"repository" => {
|
||||||
"@type" => "repository",
|
"@type" => "repository",
|
||||||
|
|
|
@ -62,7 +62,8 @@ describe Travis::API::V3::Services::Owner::Repositories do
|
||||||
"event_type" => "push",
|
"event_type" => "push",
|
||||||
"previous_state" => "passed",
|
"previous_state" => "passed",
|
||||||
"started_at" => "2010-11-12T13:00:00Z",
|
"started_at" => "2010-11-12T13:00:00Z",
|
||||||
"finished_at" => nil}}}]
|
"finished_at" => nil,
|
||||||
|
"job_ids" => repo.last_build.cached_matrix_ids}}}]
|
||||||
}}
|
}}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,8 @@ describe Travis::API::V3::Services::Repositories::ForCurrentUser do
|
||||||
"event_type" => "push",
|
"event_type" => "push",
|
||||||
"previous_state" => "passed",
|
"previous_state" => "passed",
|
||||||
"started_at" => "2010-11-12T13:00:00Z",
|
"started_at" => "2010-11-12T13:00:00Z",
|
||||||
"finished_at" => nil}}}]
|
"finished_at" => nil,
|
||||||
|
"job_ids" => repo.last_build.cached_matrix_ids}}}]
|
||||||
}}
|
}}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,8 @@ describe Travis::API::V3::Services::Repository::Find do
|
||||||
"event_type" => "push",
|
"event_type" => "push",
|
||||||
"previous_state" => "passed",
|
"previous_state" => "passed",
|
||||||
"started_at" => "2010-11-12T13:00:00Z",
|
"started_at" => "2010-11-12T13:00:00Z",
|
||||||
"finished_at" => nil}}
|
"finished_at" => nil,
|
||||||
|
"job_ids" => repo.last_build.cached_matrix_ids}}
|
||||||
}}
|
}}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -165,7 +166,8 @@ describe Travis::API::V3::Services::Repository::Find do
|
||||||
"event_type" => "push",
|
"event_type" => "push",
|
||||||
"previous_state" => "passed",
|
"previous_state" => "passed",
|
||||||
"started_at" => "2010-11-12T13:00:00Z",
|
"started_at" => "2010-11-12T13:00:00Z",
|
||||||
"finished_at" => nil}}
|
"finished_at" => nil,
|
||||||
|
"job_ids" => repo.last_build.cached_matrix_ids}}
|
||||||
}}
|
}}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -245,7 +247,8 @@ describe Travis::API::V3::Services::Repository::Find do
|
||||||
"event_type" => "push",
|
"event_type" => "push",
|
||||||
"previous_state" => "passed",
|
"previous_state" => "passed",
|
||||||
"started_at" => "2010-11-12T13:00:00Z",
|
"started_at" => "2010-11-12T13:00:00Z",
|
||||||
"finished_at" => nil}}
|
"finished_at" => nil,
|
||||||
|
"job_ids" => repo.last_build.cached_matrix_ids}}
|
||||||
}}
|
}}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -331,7 +334,8 @@ describe Travis::API::V3::Services::Repository::Find do
|
||||||
"event_type" => "push",
|
"event_type" => "push",
|
||||||
"previous_state" => "passed",
|
"previous_state" => "passed",
|
||||||
"started_at" => "2010-11-12T13:00:00Z",
|
"started_at" => "2010-11-12T13:00:00Z",
|
||||||
"finished_at" => nil}}
|
"finished_at" => nil,
|
||||||
|
"job_ids" => repo.last_build.cached_matrix_ids}}
|
||||||
}}
|
}}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user