Sha256: f0906a53701971a2ffc15deaef614640fd99658b18559428096eac03b7428ce2
Contents?: true
Size: 339 Bytes
Versions: 5
Compression:
Stored size: 339 Bytes
Contents
require 'helper' class TestItem < Test::Unit::TestCase def setup @item = Boom::Item.new('github','https://github.com') end def test_name assert_equal 'github', @item.name end def test_value assert_equal 'https://github.com', @item.value end def test_to_hash assert_equal 1, @item.to_hash.size end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
boom-0.0.5 | test/test_item.rb |
boom-0.0.4 | test/test_item.rb |
boom-0.0.3 | test/test_item.rb |
boom-0.0.2 | test/test_item.rb |
boom-0.0.1 | test/test_item.rb |