Sha256: 7f71b81497695fd98c89abf4f7afe339838f28ae3e878bec6227bbbd460394f4
Contents?: true
Size: 569 Bytes
Versions: 8
Compression:
Stored size: 569 Bytes
Contents
require_relative '../test-util' describe 'URI patch' do it 'should be a directory' do URI.parse("http://locahost/a/b/c/").should.be.directory end it 'should be not a directory' do URI.parse("http://locahost/a/b/c").should.be.not.directory end it 'should be a file' do URI.parse("http://locahost/a/b/c").should.be.file end it 'should be not a file' do URI.parse("http://locahost/a/b/c/").should.be.not.file end it 'should convert as a directory' do URI.parse("http://locahost/a/b/c").as_directory.should.be.directory end end
Version data entries
8 entries across 8 versions & 1 rubygems