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:
authorGabriel Mazetto <brodock@gmail.com>2017-08-01 08:44:25 +0300
committerGabriel Mazetto <brodock@gmail.com>2017-08-01 08:44:25 +0300
commit597e619080c393daa765bf6e5de74f60121d1f0e (patch)
tree3a2b53e966fee7b3fa7ff0c3d8345eb91ee5fbfa /spec/migrations
parent07b574b41cb0ff4518895ea4e6c719e453fdc4e3 (diff)
Rename ensure_dir_exist -> ensure_storage_path_exist
Diffstat (limited to 'spec/migrations')
-rw-r--r--spec/migrations/cleanup_namespaceless_pending_delete_projects_spec.rb2
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