Skip to content

Commit 635ab89

Browse files
committed
Fixing spec for jobs integration
1 parent 911408d commit 635ab89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/integration/v2/jobs_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,9 @@
8585
end
8686

8787
context 'GET /jobs/:job_id/log.txt' do
88-
it 'returns redirects to archived log url' do
88+
it 'returns the log' do
8989
response = get("/jobs/#{job.id}/log.txt")
90-
expect(response.status).to eq(307)
91-
expect(response.location).to eq(archived_log_url)
90+
expect(response.status).to eq(200)
9291
end
9392

9493
it 'returns 406 (Unprocessable) if Accept header requests JSON' do

0 commit comments

Comments
 (0)