Commit 80564551 authored by James Lopez's avatar James Lopez

fix spec

parent 44be867d
...@@ -11,7 +11,6 @@ describe ImportExportCleanUpService do ...@@ -11,7 +11,6 @@ describe ImportExportCleanUpService do
path = '/invalid/path/' path = '/invalid/path/'
stub_repository_downloads_path(path) stub_repository_downloads_path(path)
expect(File).to receive(:directory?).with(path + tmp_import_export_folder).and_return(false).at_least(:once)
expect(service).not_to receive(:clean_up_export_files) expect(service).not_to receive(:clean_up_export_files)
service.execute service.execute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment