diff options
author | James Lopez <james@jameslopez.es> | 2018-01-03 16:51:04 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-01-04 13:22:43 +0300 |
commit | f8e1b44dc5d2a78676672dfc7d44c17e6defeda6 (patch) | |
tree | 8080544b278edd73f241bfdbf08cca898ebdbe9e /spec | |
parent | bc46c822fc94cfa54a190cfb0e89afeae799f57a (diff) |
add locks chek
Diffstat (limited to 'spec')
-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 |