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/raw.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/raw.rb')
| -rw-r--r-- | spec/javascripts/fixtures/raw.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/raw.rb b/spec/javascripts/fixtures/raw.rb index 25f5a3b0bb3..82770beb39b 100644 --- a/spec/javascripts/fixtures/raw.rb +++ b/spec/javascripts/fixtures/raw.rb @@ -10,6 +10,10 @@ describe 'Raw files', '(JavaScript fixtures)', type: :controller do clean_frontend_fixtures('blob/notebook/') end + after do + remove_repository(project) + end + it 'blob/notebook/basic.json' do |example| blob = project.repository.blob_at('6d85bb69', 'files/ipython/basic.ipynb') |
