diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-30 16:05:43 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-30 16:05:43 +0300 |
commit | 70f868b737af99c8a8697a3cb5e19b8da3d9c3d9 (patch) | |
tree | 1124b60e0e2a3583a7be04f0311758654a7ca0db /lib/api/projects.rb | |
parent | 593df8e69a81a3ab0a4755db74dc282c00e02ef5 (diff) | |
download | gitlab-ce-70f868b737af99c8a8697a3cb5e19b8da3d9c3d9.tar.gz |
Fix tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r-- | lib/api/projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index ab272426ce0..88c73bff32d 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -222,7 +222,7 @@ module API # Example Request: # GET /projects/:id/labels get ':id/labels' do - @labels = user_project.issues_labels + @labels = user_project.labels present @labels, with: Entities::Label end end |