
To eradicate unnecessary inconsistency. Spec to test the existing `GET logs/:id` remains.
12 lines
301 B
Ruby
12 lines
301 B
Ruby
require 'spec_helper'
|
|
|
|
describe Travis::Api::App::Endpoint::Logs do
|
|
let(:job) { Factory(:test) }
|
|
|
|
describe "GET /logs/:id/" do
|
|
it "finds log successfully" do
|
|
get("/logs/#{job.log.id}", {}, "HTTP_ACCEPT" => "application/vnd.travis-ci.2+json, */*; q=0.01").should be_ok
|
|
end
|
|
end
|
|
end
|