プロジェクト

全般

プロフィール

バグ #616 » 0001-use-environment-variable-in-test.patch

コスモ 虹川, 2013-10-13 01:00

差分を表示:

test/core/test_web_image_loader.rb
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-1/2)