diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-03 15:22:12 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-03 15:22:12 -0500 |
commit | 8f1f1071c9e6ebc32697a9b046a07a9ef89b6d6f (patch) | |
tree | db9aacea31b9c289d80c45e57ba045f43b16523e /spec/install/upgrade_spec.rb | |
parent | 9d5ca174c247027db8f6b40784b2d9d402f93b9d (diff) | |
download | bundler-8f1f1071c9e6ebc32697a9b046a07a9ef89b6d6f.tar.gz |
Remove 0.9 upgrade compatibility
Diffstat (limited to 'spec/install/upgrade_spec.rb')
-rw-r--r-- | spec/install/upgrade_spec.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/install/upgrade_spec.rb b/spec/install/upgrade_spec.rb deleted file mode 100644 index d979b976..00000000 --- a/spec/install/upgrade_spec.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true -require "spec_helper" - -describe "bundle install for the first time with v1.0" do - before :each do - in_app_root - - gemfile <<-G - source "file://#{gem_repo1}" - gem "rack" - G - end - - it "removes lockfiles in 0.9 YAML format" do - File.open("Gemfile.lock", "w") {|f| YAML.dump({}, f) } - bundle :install - expect(Pathname.new("Gemfile.lock")).not_to read_as(a_string_starting_with("---")) - end - - it "removes env.rb if it exists" do - bundled_app.join(".bundle").mkdir - bundled_app.join(".bundle/environment.rb").open("w") {|f| f.write("raise 'nooo'") } - bundle :install - expect(bundled_app.join(".bundle/environment.rb")).not_to exist - end -end |