Sha256: 9ba04209f11ed508e195653a74669e79c879c010c17dc73f4d8a75008cb641a7
Contents?: true
Size: 536 Bytes
Versions: 14
Compression:
Stored size: 536 Bytes
Contents
$:.unshift File.join(File.dirname(__FILE__), "..", "lib") require 'pho' require 'test/unit' class StoreUtilTest < Test::Unit::TestCase def test_build_uri store = Pho::Store.new("http://api.talis.com/stores/testing") assert_equal("http://api.talis.com/stores/testing/meta", store.build_uri("/meta") ) assert_equal("http://api.talis.com/stores/testing/meta", store.build_uri("meta") ) assert_equal("http://api.talis.com/stores/testing/meta", store.build_uri("http://api.talis.com/stores/testing/meta") ) end end
Version data entries
14 entries across 14 versions & 1 rubygems