diff options
author | James Lopez <james@jameslopez.es> | 2018-01-03 14:51:04 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-01-04 11:22:43 +0100 |
commit | f8e1b44dc5d2a78676672dfc7d44c17e6defeda6 (patch) | |
tree | 8080544b278edd73f241bfdbf08cca898ebdbe9e /spec/tasks | |
parent | bc46c822fc94cfa54a190cfb0e89afeae799f57a (diff) | |
download | gitlab-ce-f8e1b44dc5d2a78676672dfc7d44c17e6defeda6.tar.gz |
add locks chek
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/git_rake_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/git_rake_spec.rb b/spec/tasks/gitlab/git_rake_spec.rb index 60b51186ceb..19d298fb36d 100644 --- a/spec/tasks/gitlab/git_rake_spec.rb +++ b/spec/tasks/gitlab/git_rake_spec.rb @@ -1,3 +1,5 @@ + + require 'rake_helper' describe 'gitlab:git rake tasks' do @@ -6,7 +8,7 @@ describe 'gitlab:git rake tasks' do storages = { 'default' => { 'path' => Settings.absolute('tmp/tests/default_storage') } } - FileUtils.mkdir_p(Settings.absolute('tmp/tests/default_storage/repo/test.git')) + FileUtils.mkdir_p(Settings.absolute('tmp/tests/default_storage/@repo/1/2/test.git')) allow(Gitlab.config.repositories).to receive(:storages).and_return(storages) stub_warn_user_is_not_gitlab end |