バグ #616 » 0001-use-environment-variable-in-test.patch
test/core/test_web_image_loader.rb | ||
---|---|---|
150 | 150 |
WebMock.stub_request(:get, url).to_return(File.open(ICON_TEST){ |io| io.read }) |
151 | 151 |
localpath = Gdk::WebImageLoader.local_path(url) |
152 | 152 |
}.join |
153 |
assert_equal("/home/toshi/.mikutter/tmp/e9183b9265dcf0728fceceb07444e8c1.png.png", localpath)
|
|
153 |
assert_equal("#{ENV["HOME"]}/.mikutter/tmp/e9183b9265dcf0728fceceb07444e8c1.png.png", localpath)
|
|
154 | 154 |
end |
155 | 155 | |
156 | 156 |
must "is local path" do |