Sha256: 02658ee5bc6c9f1bc9845c1bf3ad8270fe0ec719e954b7e90c83a23ec58b2c7a
Contents?: true
Size: 565 Bytes
Versions: 9
Compression:
Stored size: 565 Bytes
Contents
require 'pione/test-helper' 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
9 entries across 9 versions & 1 rubygems