Sha256: d0c7ad9c05fd9c9273f03c09c76c6e535a418318aa5995d055fe90b1208a64df

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + "/../../../spec_helper")

describe Dependency do

  it "should has exclusions" do
    dependency = described_class.new("org.springframework", "spring-web", "4.0.0", [described_class.new("org.springframework", "spring-orm")])
    expect(dependency.has_exclusions?).to be true
  end

  it "cannot has exclusions" do
    dependency = described_class.new("org.springframework", "spring-web", "3.0.0")
    expect(dependency.has_exclusions?).to be false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
springmvc-scaffold-1.0.1 spec/springmvc-scaffold/generators/app/dependency_spec.rb