Commit 01eb0acc authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Add test for expected resource data on /links endpoint

parent 7e142480
......@@ -28,6 +28,7 @@ describe API::IssueLinks do
expect(response).to have_http_status(200)
expect(json_response).to be_an Array
expect(json_response.length).to eq(1)
expect(json_response.first).to include('iid', 'title', 'issue_link_id')
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment