Sha256: 3a2a8faa4373210000943625090bc2153b41f441a3efb829dbf134a783cb921e
Contents?: true
Size: 382 Bytes
Versions: 2
Compression:
Stored size: 382 Bytes
Contents
require File.join(File.dirname(__FILE__), "test_helper.rb") require 'tweet-tail/cli' class TestTweetTailCli < Test::Unit::TestCase def setup TweetTail::CLI.execute(@stdout_io = StringIO.new, ['jaoo']) @stdout_io.rewind @stdout = @stdout_io.read end def test_print_default_output puts @stdout assert_match(/To update this executable/, @stdout) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tweettail-1.0.0 | test/test_tweet-tail_cli.rb |
tweettail-1.1.0 | test/test_tweet-tail_cli.rb |