diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 07:44:25 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 07:44:25 +0200 |
commit | 597e619080c393daa765bf6e5de74f60121d1f0e (patch) | |
tree | 3a2b53e966fee7b3fa7ff0c3d8345eb91ee5fbfa /spec/migrations | |
parent | 07b574b41cb0ff4518895ea4e6c719e453fdc4e3 (diff) | |
download | gitlab-ce-597e619080c393daa765bf6e5de74f60121d1f0e.tar.gz |
Rename ensure_dir_exist -> ensure_storage_path_exist
Diffstat (limited to 'spec/migrations')
-rw-r--r-- | spec/migrations/cleanup_namespaceless_pending_delete_projects_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/migrations/cleanup_namespaceless_pending_delete_projects_spec.rb b/spec/migrations/cleanup_namespaceless_pending_delete_projects_spec.rb index 49e750a3f4d..dd634f2c024 100644 --- a/spec/migrations/cleanup_namespaceless_pending_delete_projects_spec.rb +++ b/spec/migrations/cleanup_namespaceless_pending_delete_projects_spec.rb @@ -4,7 +4,7 @@ require Rails.root.join('db', 'post_migrate', '20170502101023_cleanup_namespacel describe CleanupNamespacelessPendingDeleteProjects do before do # Stub after_save callbacks that will fail when Project has no namespace - allow_any_instance_of(Project).to receive(:ensure_dir_exist).and_return(nil) + allow_any_instance_of(Project).to receive(:ensure_storage_path_exist).and_return(nil) allow_any_instance_of(Project).to receive(:update_project_statistics).and_return(nil) end |