Sha256: b3df2bcd2d9bf08f21a8067c7bc65467ac8b5fb7cd350e4401877e27878f69a2
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 Bytes
Contents
require "#{File.expand_path(File.join(File.dirname(__FILE__), "helper.rb"))}" class TestMethods < MiniTest::Unit::TestCase def setup @commands = Commandeer.commands end def test_commands_is_hash assert_kind_of(Hash, @commands) end def test_respond_to_reset assert_respond_to(Commandeer, :reset!) end def test_respond_to_add_command assert_respond_to(Commandeer, :add_command) end def test_respond_to_parse assert_respond_to(Commandeer, :parse!) end def test_respond_to_constantize assert_respond_to(Commandeer, :constantize) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
commandeer-0.1.1 | test/test_methods.rb |
commandeer-0.1.0 | test/test_methods.rb |