Skip to content
Snippets Groups Projects
Commit cd6ca1b6 authored by Alejandro Rodríguez's avatar Alejandro Rodríguez
Browse files

Merge remote-tracking branch 'ce/master'

parents a21d91e2 b900bb9b
No related branches found
No related tags found
No related merge requests found
---
title: API: Ability to retrieve version information
title: "API: Ability to retrieve version information"
merge_request: 7286
author: Robert Schilling
Loading
Loading
@@ -18,7 +18,7 @@ describe GroupLabel, models: true do
end
 
describe '#to_reference' do
let(:label) { create(:group_label) }
let(:label) { create(:group_label, title: 'feature') }
 
context 'using id' do
it 'returns a String reference to the object' do
Loading
Loading
Loading
Loading
@@ -15,7 +15,7 @@ describe API::API, api: true do
describe 'GET /projects/:id/labels' do
it 'returns all available labels to the project' do
group = create(:group)
group_label = create(:group_label, group: group)
group_label = create(:group_label, title: 'feature', group: group)
project.update(group: group)
expected_keys = [
'id', 'name', 'color', 'description',
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment