Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-10-06 17:09:03 +0300
committerValery Sizov <vsv2711@gmail.com>2015-10-14 18:50:35 +0300
commit8f584d5f2c8dc036214a7fc71ce864fe23b4cb9e (patch)
tree77a0b55d3ef868b453808e00bcb4d624846af139 /features/steps/admin/projects.rb
parenta2f0a3650b03fcca3c8ca428ca1d2173197b4d22 (diff)
Fix: Images cannot show when projects' path was changed
Diffstat (limited to 'features/steps/admin/projects.rb')
-rw-r--r--features/steps/admin/projects.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/steps/admin/projects.rb b/features/steps/admin/projects.rb
index 17233f89f38..5a1cc9aa151 100644
--- a/features/steps/admin/projects.rb
+++ b/features/steps/admin/projects.rb
@@ -41,6 +41,8 @@ class Spinach::Features::AdminProjects < Spinach::FeatureSteps
end
step 'I transfer project to group \'Web\'' do
+ allow_any_instance_of(Projects::TransferService).
+ to receive(:move_uploads_to_new_namespace).and_return(true)
find(:xpath, "//input[@id='new_namespace_id']").set group.id
click_button 'Transfer'
end