From 52d5f40d0e03ece8c6d5b4a4e178a8f2807823d2 Mon Sep 17 00:00:00 2001
From: cosmo0920 <cosmo_originstring@yahoo.co.jp>
Date: Sun, 13 Oct 2013 00:56:59 +0900
Subject: [PATCH] use environment variable in test

---
 test/core/test_web_image_loader.rb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/core/test_web_image_loader.rb b/test/core/test_web_image_loader.rb
index fbdca34..f6c4857 100644
--- a/test/core/test_web_image_loader.rb
+++ b/test/core/test_web_image_loader.rb
@@ -150,7 +150,7 @@ class TC_GtkWebImageLoader < Test::Unit::TestCase
       WebMock.stub_request(:get, url).to_return(File.open(ICON_TEST){ |io| io.read })
       localpath = Gdk::WebImageLoader.local_path(url)
     }.join
-    assert_equal("/home/toshi/.mikutter/tmp/e9183b9265dcf0728fceceb07444e8c1.png.png", localpath)
+    assert_equal("#{ENV["HOME"]}/.mikutter/tmp/e9183b9265dcf0728fceceb07444e8c1.png.png", localpath)
   end
 
   must "is local path" do
-- 
1.7.9.5

