Sha256: 0ca3f1f4e55aaf557782d66a5f7d17f94ba2f91c3c326131d4f746c4f45b640e

Contents?: true

Size: 363 Bytes

Versions: 9

Compression:

Stored size: 363 Bytes

Contents

require 'pione/test-helper'

describe "Pione::Location::GitScheme" do
  before do
    @uri = URI.parse("git://github.com/pione/pione.git")
  end

  it "should get host" do
    @uri.host.should == "github.com"
  end

  it "should get scheme" do
    @uri.scheme.should == "git"
  end

  it "should get path" do
    @uri.path.should == "/pione/pione.git"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pione-0.5.0 test/location/spec_git-scheme.rb
pione-0.5.0.alpha.2 test/location/spec_git-scheme.rb
pione-0.5.0.alpha.1 test/location/spec_git-scheme.rb
pione-0.4.2 test/location/spec_git-scheme.rb
pione-0.4.1 test/location/spec_git-scheme.rb
pione-0.4.0 test/location/spec_git-scheme.rb
pione-0.3.2 test/location/spec_git-scheme.rb
pione-0.3.1 test/location/spec_git-scheme.rb
pione-0.3.0 test/location/spec_git-scheme.rb