Commit d336c4a1 by Jon Yurek

Rakes green

parent 6c912c4d
...@@ -21,8 +21,8 @@ class FogTest < Test::Unit::TestCase ...@@ -21,8 +21,8 @@ class FogTest < Test::Unit::TestCase
end end
should "be able to interpolate the path without blowing up" do should "be able to interpolate the path without blowing up" do
puts @dummy.avatar.instance_variable_get("@path") puts @dummy.avatar.instance_variable_get("@path")
assert_equal File.join(File.dirname(File.expand_path(__FILE__)), assert_equal File.expand_path(File.join(File.dirname(__FILE__), "../public/avatars/5k.png")),
"../public/avatars/5k.png"), @dummy.avatar.path @dummy.avatar.path
end end
end end
......
...@@ -20,7 +20,7 @@ rescue LoadError => e ...@@ -20,7 +20,7 @@ rescue LoadError => e
puts "debugger disabled" puts "debugger disabled"
end end
ROOT = File.join(File.dirname(__FILE__), '..') ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
def silence_warnings def silence_warnings
old_verbose, $VERBOSE = $VERBOSE, nil old_verbose, $VERBOSE = $VERBOSE, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment