Sha256: 597b705540760f60e701e1630d2e2ee264bb53e46801b97d9275138d2f656e17
Contents?: true
Size: 798 Bytes
Versions: 8
Compression:
Stored size: 798 Bytes
Contents
require_relative '../test-util' describe 'Pione::URIScheme::DropboxScheme' do it 'should be suported by PIONE' do URI.parse("dropbox:/").should.be.pione end it 'should be storage' do URI.parse("dropbox:/").should.be.storage end it 'should be dropbox scheme URI' do URI.parse("dropbox:/Pione").should.kind_of Pione::URIScheme::DropboxScheme end it 'should get scheme name' do URI.parse("dropbox:/Pione").scheme.should == 'dropbox' end it 'should get the path of "dropbox:/Pione"' do URI.parse("dropbox:/Pione").path.should == '/Pione' end it 'should get the path of "dropbox:/"' do URI.parse("dropbox:/").path.should == "/" end it 'should get the path of "dropbox:/a/b/c"' do URI.parse("dropbox:/a/b/c").path.should == "/a/b/c" end end
Version data entries
8 entries across 8 versions & 1 rubygems