Sha256: d6e5dcb247585ad2b2a858abc4a2e9fe8b9ad58bdaac5309c41727e1b5f1715f

Contents?: true

Size: 523 Bytes

Versions: 10

Compression:

Stored size: 523 Bytes

Contents

#!/usr/bin/env ruby
require 'test/unit'
require 'rubygems'; require 'require_relative'
require_relative '../../processor/command/base/subsubcmd'

$errors = []
class TestBaseSubCommand < Test::Unit::TestCase

  def test_prefix_set
    Trepanning::SubSubcommand.set_name_prefix('/tmp/show_subcmd/auto_subcmd/food.rb', 
                                           self.class)
    assert_equal('food', NAME, "should have set NAME")
    assert_equal('show auto food', CMD)
    assert_equal(%w(show auto food), PREFIX)
  end

end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
rbx-trepanning-0.2.1-universal-rubinius-2.0 test/unit/test-base-subsubcmd.rb
rbx-trepanning-0.2.1-universal-rubinius-1.2 test/unit/test-base-subsubcmd.rb
rbx-trepanning-0.2.0-universal-rubinius-2.0 test/unit/test-base-subsubcmd.rb
rb8-trepanning-0.1.6 test/unit/test-base-subsubcmd.rb
rb8-trepanning-0.1.5 test/unit/test-base-subsubcmd.rb
rbx-trepanning-0.1.0-universal-rubinius-1.2 test/unit/test-base-subsubcmd.rb
rb8-trepanning-0.1.4 test/unit/test-base-subsubcmd.rb
rb8-trepanning-0.1.3 test/unit/test-base-subsubcmd.rb
rb8-trepanning-0.1.3-universal-ruby-1.9.2 test/unit/test-base-subsubcmd.rb
rb8-trepanning-0.1.3-universal-ruby-1.8.7 test/unit/test-base-subsubcmd.rb