Sha256: 777cb671f9268748e6335db6640d9f5b11716480f855e039cc1cb69efe114c22
Contents?: true
Size: 449 Bytes
Versions: 14
Compression:
Stored size: 449 Bytes
Contents
require File.expand_path('spec_helper', File.dirname(__FILE__)) module Ftpd describe ListPath do include ListPath it 'should replace a missing path with "."' do expect(list_path(nil)).to eq('.') end it 'should replace a switch with nothing' do expect(list_path('-a')).to eq('') end it 'should preserve a filename with a dash in it' do expect(list_path('foo-bar')).to eq('foo-bar') end end end
Version data entries
14 entries across 14 versions & 2 rubygems