Make rubocop happy
This commit is contained in:
parent
c0ef9958ff
commit
162062ce4b
1 changed files with 1 additions and 2 deletions
|
@ -27,7 +27,6 @@ describe Backup::Files do
|
||||||
|
|
||||||
describe 'folders without permissions' do
|
describe 'folders without permissions' do
|
||||||
before do
|
before do
|
||||||
|
|
||||||
allow(File).to receive(:realpath).with("/var/gitlab-registry").and_return("/var/gitlab-registry")
|
allow(File).to receive(:realpath).with("/var/gitlab-registry").and_return("/var/gitlab-registry")
|
||||||
allow(File).to receive(:realpath).with("/var/gitlab-registry/..").and_return("/var")
|
allow(File).to receive(:realpath).with("/var/gitlab-registry/..").and_return("/var")
|
||||||
allow(File).to receive(:exist?).and_return(true)
|
allow(File).to receive(:exist?).and_return(true)
|
||||||
|
|
Loading…
Reference in a new issue