Sha256: 38b6fcdbc3d0eaab17ee40a411e53e64f08a0b8f307863340c92d277ca502b95

Contents?: true

Size: 516 Bytes

Versions: 7

Compression:

Stored size: 516 Bytes

Contents

require "spec_helper"

describe "Resolving" do

  before :each do
    @index = an_awesome_index
  end

  it "resolves a single gem" do
    dep "rack"

    should_resolve_as %w(rack-1.1)
  end

  it "resolves a gem with dependencies" do
    dep "actionpack"

    should_resolve_as %w(actionpack-2.3.5 activesupport-2.3.5 rack-1.0)
  end

  it "resolve a conflicting index" do
    @index = a_conflict_index
    dep "my_app"
    should_resolve_as %w(activemodel-3.2.11 builder-3.0.4 grape-0.2.6 my_app-1.0.0)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bundler-1.3.5 spec/resolver/basic_spec.rb
bundler-1.3.4 spec/resolver/basic_spec.rb
bundler-1.3.3 spec/resolver/basic_spec.rb
bundler-1.3.2 spec/resolver/basic_spec.rb
bundler-1.3.1 spec/resolver/basic_spec.rb
bundler-1.3.0 spec/resolver/basic_spec.rb
bundler-1.3.0.pre.8 spec/resolver/basic_spec.rb