mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
14 lines
226 B
Ruby
14 lines
226 B
Ruby
|
require 'rubygems/test_case'
|
||
|
require 'rubygems/source'
|
||
|
|
||
|
class TestGemSourceVendor < Gem::TestCase
|
||
|
|
||
|
def test_initialize
|
||
|
source = Gem::Source::Vendor.new 'vendor/foo'
|
||
|
|
||
|
assert_equal 'vendor/foo', source.uri
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|