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:
authorBalasankar "Balu" C <balasankar@gitlab.com>2018-03-30 10:53:53 +0300
committerBalasankar "Balu" C <balasankar@gitlab.com>2018-03-30 10:53:53 +0300
commit162062ce4bc30ab0435d6aaddb2de4f9775ad556 (patch)
tree857a564d7750b98726d780d6f92d45ea1d662249 /spec/lib/backup
parentc0ef9958ff5bfbd78df44b2d5abe4d5375a0d36f (diff)
Make rubocop happy
Diffstat (limited to 'spec/lib/backup')
-rw-r--r--spec/lib/backup/files_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/lib/backup/files_spec.rb b/spec/lib/backup/files_spec.rb
index efc9ff0d7d3..858615dba2e 100644
--- a/spec/lib/backup/files_spec.rb
+++ b/spec/lib/backup/files_spec.rb
@@ -18,7 +18,7 @@ describe Backup::Files do
end
describe '#restore' do
- subject { described_class.new('registry', '/var/gitlab-registry') }
+ subject { described_class.new('registry', '/var/gitlab-registry') }
let(:timestamp) { Time.utc(2017, 3, 22) }
around do |example|
@@ -27,7 +27,6 @@ describe Backup::Files do
describe 'folders without permissions' 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")
allow(File).to receive(:exist?).and_return(true)