Permalink
Browse files

Expand root to work on OS with drive letters

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 2af0020 commit 01fbc0253e2c3cbce5387124f22b4cbad75fae96 @luislavena luislavena committed with josevalim Jan 2, 2010
Showing with 3 additions and 2 deletions.
  1. +3 −2 spec/actions_spec.rb
View
@@ -55,9 +55,10 @@ def file
end
it "does not use the current directory if one is given" do
+ root = File.expand_path("/")
base = MyCounter.new([1])
- base.destination_root = "/"
- base.destination_root.must == "/"
+ base.destination_root = root
+ base.destination_root.must == root
end
it "uses the current directory if none is given" do

0 comments on commit 01fbc02

Please sign in to comment.