diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-07-05 12:54:46 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-07-11 12:22:57 +0300 |
commit | 1885a3014cf84e460693a2ff97562328b152d26f (patch) | |
tree | 72db3fa8d66581119643bf024f6b59655a9b73fd /app/controllers/import | |
parent | c1af6e4b13a283fa908fa2244c33fd5abd8bb83c (diff) | |
download | gitlab-ce-1885a3014cf84e460693a2ff97562328b152d26f.tar.gz |
Fix tests in import_sources_spec.rb
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/import')
-rw-r--r-- | app/controllers/import/manifest_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/import/manifest_controller.rb b/app/controllers/import/manifest_controller.rb index 2daf57986f3..639431690bb 100644 --- a/app/controllers/import/manifest_controller.rb +++ b/app/controllers/import/manifest_controller.rb @@ -20,7 +20,7 @@ class Import::ManifestController < Import::BaseController unless can?(current_user, :create_projects, group) @errors = ["You don't have enough permissions to create projects in the selected group"] - render :new and return + render :new && return end manifest = Gitlab::ManifestImport::Manifest.new(params[:manifest].tempfile) |