diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-10-06 17:09:03 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-10-14 18:50:35 +0300 |
commit | 8f584d5f2c8dc036214a7fc71ce864fe23b4cb9e (patch) | |
tree | 77a0b55d3ef868b453808e00bcb4d624846af139 /features | |
parent | a2f0a3650b03fcca3c8ca428ca1d2173197b4d22 (diff) |
Fix: Images cannot show when projects' path was changed
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/admin/projects.rb | 2 |
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 |