Sha256: 85e9053010f7d40afc96ee3072eccc4299fd036eeed96be381bbbe2a589e5e18
Contents?: true
Size: 707 Bytes
Versions: 20
Compression:
Stored size: 707 Bytes
Contents
# encoding: UTF-8 require 'spec_helper' describe Gjp::SourceAddressGetter do let(:source_address_getter) { Gjp::SourceAddressGetter.new } 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") source_address_getter.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") source_address_getter.get_source_address(pom_path).should eq "git:https://github.com/antlr/antlr4" end end end
Version data entries
20 entries across 20 versions & 1 rubygems