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/labels.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/labels.rb')
-rw-r--r-- | spec/javascripts/fixtures/labels.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/labels.rb b/spec/javascripts/fixtures/labels.rb index 814f065f3a4..b730d557e21 100644 --- a/spec/javascripts/fixtures/labels.rb +++ b/spec/javascripts/fixtures/labels.rb @@ -19,6 +19,10 @@ describe 'Labels (JavaScript fixtures)' do clean_frontend_fixtures('labels/') end + after do + remove_repository(project) + end + describe Groups::LabelsController, '(JavaScript fixtures)', type: :controller do render_views |