Another attempt at serialization

This commit is contained in:
Georges Dupéron 2016-08-24 16:08:46 +02:00
parent b6699af277
commit af19859e29

View File

@ -18,7 +18,7 @@ describe 'Jobs', set_app: true do
it 'GET /jobs?ids=1' do
response = get "/jobs?ids=#{job.id}", {}, headers
response.should deliver_json_for(Jobs.new([job]), version: 'v2')
response.should deliver_json_for(Travis::Api::App::Endoint::Jobs.new([job]), version: 'v2')
end
it 'GET /jobs?ids=1,2' do