Sha256: 386fc4f10d5513ecfb44155f19b295af07f3301d87c982c0fd72e25490c89a2d
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 Bytes
Contents
require 'test/unit' require 'wowheadr/uri' class URITest < Test::Unit::TestCase def test_js_url assert_equal Wowheadr::URI::JAVASCRIPT, "http://static.wowhead.com/widgets/power.js" end def test_item_url assert_equal Wowheadr::URI.item(12345), "http://www.wowhead.com/item=12345" end def test_achievement_url assert_equal Wowheadr::URI.achievement(12345), "http://www.wowhead.com/achievement=12345" end def test_spell_url assert_equal Wowheadr::URI.spell(12345), "http://www.wowhead.com/spell=12345" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wowheadr-0.0.3 | test/wowheadr/uri.rb |
wowheadr-0.0.2 | test/wowheadr/uri.rb |
wowheadr-0.0.1 | test/wowheadr/uri.rb |