diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-03 21:48:09 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-03 21:50:22 +0300 |
commit | 6143642a5ff2bbc63736b4b05d9583e72527fd5e (patch) | |
tree | 5d7818ad8d53e9bcc3cbcc0894872a2a0647f522 /spec/models/repository_spec.rb | |
parent | 35fe9c660cc5309e244ce1bde5f65b4e7ec73e4e (diff) |
Refactoring Projects::ImportService
Diffstat (limited to 'spec/models/repository_spec.rb')
-rw-r--r-- | spec/models/repository_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/models/repository_spec.rb b/spec/models/repository_spec.rb index df742ee8084..b16848f6f4f 100644 --- a/spec/models/repository_spec.rb +++ b/spec/models/repository_spec.rb @@ -1293,14 +1293,6 @@ describe Repository, models: true do end end - describe '#before_import' do - it 'flushes the repository caches' do - expect(repository).to receive(:expire_content_cache) - - repository.before_import - end - end - describe '#after_import' do it 'flushes and builds the cache' do expect(repository).to receive(:expire_content_cache) |