Sha256: a3105ded60732ba38d65046a22d4d42fcde1903b9c92410fdd99c8bfc0f5e764

Contents?: true

Size: 726 Bytes

Versions: 2

Compression:

Stored size: 726 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

describe Pom do
  let(:pom) { Pom.new(File.join("spec", "data", "commons-logging", "pom.xml")) }
  
  describe "#connection_address" do
    it "reads the SCM connection address" do
      pom.connection_address.should eq "svn:http://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1"
    end
  end
  
  describe "#group_id" do
    it "reads the group id" do
      pom.group_id.should eq "commons-logging"
    end
  end

  describe "#artifact_id" do
    it "reads the artifact id" do
      pom.artifact_id.should eq "commons-logging"
    end
  end
  
  describe "#version" do
    it "reads the version" do
      pom.version.should eq "1.1.1"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gjp-0.6.0 spec/lib/pom_spec.rb
gjp-0.5.0 spec/lib/pom_spec.rb