diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-03 13:05:21 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-03 13:05:21 +0400 |
commit | 9b6224f99cacdce3bcbec9a2c1ef4d8af296c56c (patch) | |
tree | 1f9b73cb41837b001b145bbec1c3bff46e96398b /app | |
parent | e1dd76d5a52391626d538bf9803a32c1f0e83287 (diff) |
More test fixes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/services/merge_requests/create_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/merge_requests/create_service.rb b/app/services/merge_requests/create_service.rb index 6f7121a51d0..d1bf827f3fc 100644 --- a/app/services/merge_requests/create_service.rb +++ b/app/services/merge_requests/create_service.rb @@ -3,6 +3,7 @@ module MergeRequests def execute merge_request = MergeRequest.new(params) merge_request.source_project = project + merge_request.target_project ||= project merge_request.author = current_user if merge_request.save |