Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rakes green

  • Loading branch information...
commit d336c4a160c91542752a9833ce7964e02bf5a290 1 parent 6c912c4
@jyurek jyurek authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 test/fog_test.rb
  2. +1 −1  test/helper.rb
View
4 test/fog_test.rb
@@ -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
View
2  test/helper.rb
@@ -20,7 +20,7 @@
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
Please sign in to comment.
Something went wrong with that request. Please try again.