Sha256: c651793866f3016ae35f806f1b7e9955d142d36e54431befb50ebc7fcea2c2eb
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
require 'test_helper' require 'my' describe My do it 'verbose' do h = 'hello' out, _err = capture_io do My.verbose('a', h) end assert_match(/#{h}/, out) end it 'verbose text' do h = 'hello' out, _err = capture_io do My.verbose('a', "#{h}\nx\n") end assert_match(/#{h}/, out) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
doit-1.0.2 | test/my_test.rb |
doit-1.0.1 | test/my_test.rb |
doit-0.3.9 | test/my_test.rb |
doit-0.3.6 | test/my_test.rb |