diff options
| author | Robert | 2017-08-01 22:09:44 +0200 | 
|---|---|---|
| committer | Robert | 2017-08-01 22:09:44 +0200 | 
| commit | f4a879becb6ac5f3229f77e8a14122f085e02be5 (patch) | |
| tree | 57cdc3ee0654f62e2664aa04492c0e48e0cb4623 /spec/services | |
| parent | 1f09ead58c9c603e9d767781ceb82859b2393f49 (diff) | |
| download | chouette-core-f4a879becb6ac5f3229f77e8a14122f085e02be5.tar.bz2 | |
Unneeded FileService Implementation and Specs removed (deliberately after merge to keep a reference in feature branch)
Diffstat (limited to 'spec/services')
| -rw-r--r-- | spec/services/file_service_spec.rb | 17 | 
1 files changed, 0 insertions, 17 deletions
| diff --git a/spec/services/file_service_spec.rb b/spec/services/file_service_spec.rb deleted file mode 100644 index 4426ee145..000000000 --- a/spec/services/file_service_spec.rb +++ /dev/null @@ -1,17 +0,0 @@ -# TODO: Delete me after stable implementation of #1726 -# RSpec.describe FileService do - -#   it 'computes a unique filename' do -#     expect( File ).to receive(:exists?).with('xxx/yyy_0').and_return( false ) - -#     expect(described_class.unique_filename('xxx/yyy')).to eq('xxx/yyy_0') -#   end - -#   it 'handles duplicate names by means of a counter' do -#     expect( File ).to receive(:exists?).with('xxx/yyy_0').and_return( true ) -#     expect( File ).to receive(:exists?).with('xxx/yyy_1').and_return( true ) -#     expect( File ).to receive(:exists?).with('xxx/yyy_2').and_return( false ) - -#     expect(described_class.unique_filename('xxx/yyy')).to eq('xxx/yyy_2') -#   end -# end | 
