From af19859e290c8faf32ae63863fe75b87b17a191a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Wed, 24 Aug 2016 16:08:46 +0200 Subject: [PATCH] Another attempt at serialization --- spec/integration/v2/jobs_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/integration/v2/jobs_spec.rb b/spec/integration/v2/jobs_spec.rb index 2a787b25..5476d62a 100644 --- a/spec/integration/v2/jobs_spec.rb +++ b/spec/integration/v2/jobs_spec.rb @@ -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