Make rubocop happy

This commit is contained in:
Balasankar "Balu" C 2018-03-30 13:23:53 +05:30
parent c0ef9958ff
commit 162062ce4b

View file

@ -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)