Sha256: 74917ce961c35052f0efd5909a20a4035dfa5280734ed52abc36bb168266d8a3
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
# encoding: UTF-8 require 'spec_helper' describe SourceAddressGetter do describe ".get_source_address" do it "gets the source address from a pom file" do pom_path = File.join("spec", "data", "commons-logging", "pom.xml") SourceAddressGetter.get_source_address(pom_path).should eq "svn:http://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1" end it "gets the source address from Github" do pom_path = File.join("spec", "data", "antlr", "pom.xml") SourceAddressGetter.get_source_address(pom_path).should eq "git:https://github.com/antlr/antlr4" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gjp-0.6.0 | spec/lib/get_source_address_spec.rb |
gjp-0.5.0 | spec/lib/get_source_address_spec.rb |