diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 08:44:25 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-01 08:44:25 +0300 |
commit | 597e619080c393daa765bf6e5de74f60121d1f0e (patch) | |
tree | 3a2b53e966fee7b3fa7ff0c3d8345eb91ee5fbfa /spec/workers/namespaceless_project_destroy_worker_spec.rb | |
parent | 07b574b41cb0ff4518895ea4e6c719e453fdc4e3 (diff) |
Rename ensure_dir_exist -> ensure_storage_path_exist
Diffstat (limited to 'spec/workers/namespaceless_project_destroy_worker_spec.rb')
-rw-r--r-- | spec/workers/namespaceless_project_destroy_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/namespaceless_project_destroy_worker_spec.rb b/spec/workers/namespaceless_project_destroy_worker_spec.rb index 8533b7b85e9..f9e23d648ec 100644 --- a/spec/workers/namespaceless_project_destroy_worker_spec.rb +++ b/spec/workers/namespaceless_project_destroy_worker_spec.rb @@ -5,7 +5,7 @@ describe NamespacelessProjectDestroyWorker 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 |