diff options
author | Rémy Coutable <remy@rymai.me> | 2017-10-10 18:24:31 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-10-18 19:42:09 +0300 |
commit | 8b8bab118e803fd17a93df09d46545b6a2b46786 (patch) | |
tree | 155dcb66b3afa71df1aabdb138ac54eb399ce747 /spec/lib/gitlab/backup | |
parent | 9c71fb0de2f0a7482b1a59c673142981ecdab26f (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.rb | 4 |
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([]) |