Sha256: 66a3f721a1a44aa69fffbdf65dd4dce7e662ba4fa1012d3b25266cf6e8da5bf0

Contents?: true

Size: 625 Bytes

Versions: 19

Compression:

Stored size: 625 Bytes

Contents

require "spec_helper"

describe "path sources" do
  describe "bundle update --source" do
    it "shows the previous version of the gem when updated from path source" do
      build_lib "activesupport", "2.3.5", :path => lib_path("rails/activesupport")

      install_gemfile <<-G
      gem "activesupport", :path => "#{lib_path('rails/activesupport')}"
      G

      build_lib "activesupport", "3.0", :path => lib_path("rails/activesupport")

      bundle "update --source activesupport"
      expect(out).to include("Using activesupport 3.0 (was 2.3.5) from source at #{lib_path('rails/activesupport')}")
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
bundler-1.7.15 spec/update/path_spec.rb
bundler-1.7.14 spec/update/path_spec.rb
bundler-1.7.13 spec/update/path_spec.rb
bundler-1.7.12 spec/update/path_spec.rb
bundler-1.7.11 spec/update/path_spec.rb
bundler-1.7.10 spec/update/path_spec.rb
bundler-1.7.9 spec/update/path_spec.rb
bundler-1.7.8 spec/update/path_spec.rb
bundler-1.7.7 spec/update/path_spec.rb
bundler-1.7.6 spec/update/path_spec.rb
bundler-1.7.5 spec/update/path_spec.rb
bundler-1.7.4 spec/update/path_spec.rb
bundler-1.7.3 spec/update/path_spec.rb
bundler-1.7.2 spec/update/path_spec.rb
bundler-1.7.1 spec/update/path_spec.rb
bundler-1.7.1.pre.3 spec/update/path_spec.rb
bundler-1.7.1.pre.2 spec/update/path_spec.rb
bundler-1.7.1.pre spec/update/path_spec.rb
bundler-1.7.0 spec/update/path_spec.rb