Permalink
Browse files

Use : as file separator when passing args to rcov.

This is based on rcov's own command line documentation.

- Closes #307.
- Reverses #289.
  • Loading branch information...
1 parent 7cf6233 commit 06b4122cf4ebfb80fb1d6e08430d8274afb34b65 @dchelimsky dchelimsky committed Aug 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/core/rake_task.rb
View
2 lib/rspec/core/rake_task.rb
@@ -163,7 +163,7 @@ def spec_command
cmd_parts << "-S"
cmd_parts << runner
if rcov
- cmd_parts << ["-Ispec#{File::PATH_SEPARATOR}lib", rcov_opts]
+ cmd_parts << ["-Ispec:lib", rcov_opts]
else
cmd_parts << rspec_opts
end

0 comments on commit 06b4122

Please sign in to comment.