Sha256: 5849f956d316ba8a5ff5433656dc46f6edc57cbc7874d0f3c701676e8c081c29
Contents?: true
Size: 494 Bytes
Versions: 11
Compression:
Stored size: 494 Bytes
Contents
require File.join(File.dirname(__FILE__), "test_cli_helper.rb") require 'rbkb/cli/d64' class TestCliD64 < Test::Unit::TestCase include CliTest def setup @cli_class = Rbkb::Cli::D64 super() end def test_basic_string_arg assert_equal 0, run_with_args(%w(Zm9vYnk=)) assert_equal "fooby", @stdout_io.string end def test_stdin @stdin_io.write "Zm9vYnk=" ; @stdin_io.rewind assert_equal 0, run_with_args() assert_equal "fooby", @stdout_io.string end end
Version data entries
11 entries across 11 versions & 2 rubygems