Merge pull request #567 from alechenninger/add-test-for-basename-with-scheme
Add test for basename on path with scheme
This commit is contained in:
commit
e5be901e0e
1 changed files with 1 additions and 0 deletions
|
@ -10,4 +10,5 @@ describe 'basename' do
|
|||
it { is_expected.to run.with_params('relative_path/to/a/file.ext').and_return('file.ext') }
|
||||
it { is_expected.to run.with_params('/path/to/a/file.ext', '.ext').and_return('file') }
|
||||
it { is_expected.to run.with_params('relative_path/to/a/file.ext', '.ext').and_return('file') }
|
||||
it { is_expected.to run.with_params('scheme:///path/to/a/file.ext').and_return('file.ext') }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue