Sha256: 3f4520df1d9fed3aae6bc2abcc08110a0b89e6c976c8082fcfbe107c62474df7
Contents?: true
Size: 729 Bytes
Versions: 25
Compression:
Stored size: 729 Bytes
Contents
module WebService module Request require 'test_helper' class LocationTest < Test::Unit::TestCase def setup @kind = "local" @value = "scope:(VOLCANO)" end def test_set_attributes location = Exlibris::Primo::WebService::Request::Location.new() location.kind = @kind location.value = @value assert_equal "local", location.kind assert_equal "scope:(VOLCANO)", location.value end def test_write_attributes location = Exlibris::Primo::WebService::Request::Location.new(:kind => @kind, :value => @value) assert_equal "local", location.kind assert_equal "scope:(VOLCANO)", location.value end end end end
Version data entries
25 entries across 25 versions & 1 rubygems