btm / minitest-handler-cookbook

Apache License 2.0
59 stars 36 forks source link

Add optional drive prefix to support windows #61

Closed matt-richardson closed 10 years ago

matt-richardson commented 10 years ago

Add drive prefix to regex to fix root issue (described in https://github.com/btm/minitest-handler-cookbook/issues/60) on windows where it was unable to find tests as the convert-full-file-path-to-relatative-path functionality was failing.

Wasn't sure of how to write a test for this (and relatively new to ruby).

dpetzel commented 10 years ago

@matt-richardson Thanks!. No worries on the test. I've been meaning to get some spec tests started, this gave me the kick in the a\ I needed to get them started.