Sha256: dfa42ad337e4d41d128ad83130a1c6ab990a1d15dfbcdbf21ed09be10215039d

Contents?: true

Size: 699 Bytes

Versions: 15

Compression:

Stored size: 699 Bytes

Contents

require "spec_helper"

describe "bundle install with deprecated features" do
  before :each do
    in_app_root
  end

  %w().each do |deprecated|

    it "reports that #{deprecated} is deprecated" do
      gemfile <<-G
        #{deprecated}
      G

      bundle :install
      out.should =~ /'#{deprecated}' has been removed/
      out.should =~ /See the README for more information/
    end

  end


  %w().each do |deprecated|

    it "reports that :#{deprecated} is deprecated" do
      gemfile <<-G
        gem "rack", :#{deprecated} => true
      G

      bundle :install
      out.should =~ /Please replace :#{deprecated}|The :#{deprecated} option is no longer supported/
    end

  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bundler-1.1.5 spec/install/deprecated_spec.rb
bundler-1.1.4 spec/install/deprecated_spec.rb
bundler-1.1.3 spec/install/deprecated_spec.rb
bundler-1.1.2 spec/install/deprecated_spec.rb
bundler-1.1.1 spec/install/deprecated_spec.rb
bundler-1.1.0 spec/install/deprecated_spec.rb
bundler-1.1.rc.8 spec/install/deprecated_spec.rb
bundler-1.1.rc.7 spec/install/deprecated_spec.rb
bundler-1.1.rc.6 spec/install/deprecated_spec.rb
bundler-1.1.rc.5 spec/install/deprecated_spec.rb
bundler-1.1.rc.3 spec/install/deprecated_spec.rb
bundler-1.1.rc.2 spec/install/deprecated_spec.rb
bundler-1.1.rc spec/install/deprecated_spec.rb
bundler-1.1.pre.10 spec/install/deprecated_spec.rb
bundler-1.1.pre.9 spec/install/deprecated_spec.rb