diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-09 21:21:52 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-09 21:50:32 +0300 |
commit | bf39c4bcdf64b656323a07e2f26079148f3a43c3 (patch) | |
tree | 69b41c879842914b369b5aae2d042a0603d1817f /spec/requests/api/labels_spec.rb | |
parent | 2976ad40f83e97e5e3628c32db1a06edafe21a72 (diff) |
Remove order-dependent expectation
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/requests/api/labels_spec.rb')
-rw-r--r-- | spec/requests/api/labels_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/labels_spec.rb b/spec/requests/api/labels_spec.rb index 2ff90b6deac..5d84976c9c3 100644 --- a/spec/requests/api/labels_spec.rb +++ b/spec/requests/api/labels_spec.rb @@ -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', |