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:
authorRémy Coutable <remy@rymai.me>2017-10-10 18:24:31 +0300
committerRémy Coutable <remy@rymai.me>2017-10-18 19:42:09 +0300
commit8b8bab118e803fd17a93df09d46545b6a2b46786 (patch)
tree155dcb66b3afa71df1aabdb138ac54eb399ce747 /spec/lib/gitlab/backup
parent9c71fb0de2f0a7482b1a59c673142981ecdab26f (diff)
Stub ENV in the backup task spec file
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/lib/gitlab/backup')
-rw-r--r--spec/lib/gitlab/backup/manager_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/lib/gitlab/backup/manager_spec.rb b/spec/lib/gitlab/backup/manager_spec.rb
index 422f2af7266..b68301a066a 100644
--- a/spec/lib/gitlab/backup/manager_spec.rb
+++ b/spec/lib/gitlab/backup/manager_spec.rb
@@ -172,10 +172,6 @@ describe Backup::Manager do
end
describe '#unpack' do
- before do
- allow(Dir).to receive(:chdir)
- end
-
context 'when there are no backup files in the directory' do
before do
allow(Dir).to receive(:glob).and_return([])