diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2017-08-23 01:19:35 +0200 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2017-08-30 20:22:48 +0200 |
commit | a882026bdfc770ecfac70bfc88a409ec010f06c9 (patch) | |
tree | a8418c7eb6e988dbd9644b82f1b3f1d2f6693dda /spec/javascripts/fixtures/prometheus_service.rb | |
parent | 8f178c4222d917b5f2878beb97642bff0ee5345e (diff) | |
download | gitlab-ce-a882026bdfc770ecfac70bfc88a409ec010f06c9.tar.gz |
Cleaning up repositories for javascript fixture specs to work correctly
We need to cleanup after each execution so we can still re-use the same
paths and prevent collision with the on disk validation
Diffstat (limited to 'spec/javascripts/fixtures/prometheus_service.rb')
-rw-r--r-- | spec/javascripts/fixtures/prometheus_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/prometheus_service.rb b/spec/javascripts/fixtures/prometheus_service.rb index 7968c9425f2..f95f8038ffb 100644 --- a/spec/javascripts/fixtures/prometheus_service.rb +++ b/spec/javascripts/fixtures/prometheus_service.rb @@ -18,6 +18,10 @@ describe Projects::ServicesController, '(JavaScript fixtures)', type: :controlle sign_in(admin) end + after do + remove_repository(project) + end + it 'services/prometheus/prometheus_service.html.raw' do |example| get :edit, namespace_id: namespace, |