lib/text2svg/cli_test.rb in text2svg-0.0.3 vs lib/text2svg/cli_test.rb in text2svg-0.1.0

- old
+ new

@@ -50,17 +50,9 @@ ARGV[1] = '--font=/Library/Fonts/Times New Roman.ttf' ARGV[2] = '--italic' check(t) end - def test_stroke(t) - ARGV[0] = 'Hello' - ARGV[1] = '--font=/Library/Fonts/Times New Roman.ttf' - ARGV[2] = '--stroke=red' - ARGV[3] = '--stroke-width=100' - check(t) - end - def capture out = StringIO.new orig = $stdout $stdout = out yield