diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-05 10:36:11 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-05 10:36:11 +0400 |
commit | 3162140dfa30350a15caba662884ea9a24357ae9 (patch) | |
tree | ef3984a5bf134461e3fd9e76ccba79baaad9b7d8 /lib/api/repositories.rb | |
parent | 66516da3c1d7a5fda7876b564a7be00b17d38d25 (diff) |
Fix tag tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/api/repositories.rb')
-rw-r--r-- | lib/api/repositories.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/repositories.rb b/lib/api/repositories.rb index ce89177ef65..07c29aa7b4c 100644 --- a/lib/api/repositories.rb +++ b/lib/api/repositories.rb @@ -41,6 +41,7 @@ module API result = CreateTagService.new.execute(user_project, params[:tag_name], params[:ref], message, current_user) + if result[:status] == :success present result[:tag], with: Entities::RepoObject, |