操作
バグ #616
完了mikutterのweb image loaderのtestが環境依存になっている
プラグイン名:
ブランチ:
クラッシュする:
説明
具体的にはこの部分
diff --git a/test/core/test_web_image_loader.rb b/test/core/test_web_image_loade
r.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.r
ead })
localpath = Gdk::WebImageLoader.local_path(url)
}.join
- assert_equal("/home/toshi/.mikutter/tmp/e9183b9265dcf0728fceceb07444e8c1.pn
g.png", localpath)
+ assert_equal("#{ENV["HOME"]}/.mikutter/tmp/e9183b9265dcf0728fceceb07444e8c1
.png.png", localpath)
end
must "is local path" do
~/.mikutterの指す位置はアカウントごとに異なっていいはずです。
ファイル
操作