diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2016-12-13 00:27:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-13 00:27:48 -0700 |
| commit | ef5b192d48cf581831d337fe1963fbb90944dc6f (patch) | |
| tree | 68b254a2d88df6b04a593fb9d22a4a5098d07779 /test | |
| parent | 1e38a00cbd79a4f45c7e7d7b2a712759faa5b711 (diff) | |
resolves #1965 make start argument to system_path optional (PR #1966)
Diffstat (limited to 'test')
| -rw-r--r-- | test/paths_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/paths_test.rb b/test/paths_test.rb index f7fd96c2..ab66e4cc 100644 --- a/test/paths_test.rb +++ b/test/paths_test.rb @@ -185,6 +185,7 @@ context 'Path Resolver' do pwd = File.expand_path(Dir.pwd) assert_equal "#{pwd}/images/tiger.png", @resolver.system_path('images/tiger.png', '') assert_equal "#{pwd}/images/tiger.png", @resolver.system_path('images/tiger.png', nil) + assert_equal "#{pwd}/images/tiger.png", @resolver.system_path('images/tiger.png') end test 'resolves relative hidden target relative to current directory if start is empty' do |
