diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-18 14:40:34 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-02-01 01:53:56 +0300 |
commit | 2c2447771f098f7c8d692e7318d8f822df468b48 (patch) | |
tree | 30bc13a97c0862377626cb62a240a8408bae328b /spec/services | |
parent | 4afab3d4b64bf4aac228306636bb1b477debe8ce (diff) |
Rename pages namespace or project path when changed
- Move UploadsTransfer to ProjectTransfer and inherit from this to UploadsTransfer and PagesTransfer
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/projects/transfer_service_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/services/projects/transfer_service_spec.rb b/spec/services/projects/transfer_service_spec.rb index 1540b90163a..5d5812c2c15 100644 --- a/spec/services/projects/transfer_service_spec.rb +++ b/spec/services/projects/transfer_service_spec.rb @@ -9,6 +9,8 @@ describe Projects::TransferService, services: true do before do allow_any_instance_of(Gitlab::UploadsTransfer). to receive(:move_project).and_return(true) + allow_any_instance_of(Gitlab::PagesTransfer). + to receive(:move_project).and_return(true) group.add_owner(user) @result = transfer_project(project, user, group) end |