Commit d336c4a1 by Jon Yurek

Rakes green

parent 6c912c4d
......@@ -21,8 +21,8 @@ class FogTest < Test::Unit::TestCase
end
should "be able to interpolate the path without blowing up" do
puts @dummy.avatar.instance_variable_get("@path")
assert_equal File.join(File.dirname(File.expand_path(__FILE__)),
"../public/avatars/5k.png"), @dummy.avatar.path
assert_equal File.expand_path(File.join(File.dirname(__FILE__), "../public/avatars/5k.png")),
@dummy.avatar.path
end
end
......
......@@ -20,7 +20,7 @@ rescue LoadError => e
puts "debugger disabled"
end
ROOT = File.join(File.dirname(__FILE__), '..')
ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
def silence_warnings
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