Sha256: 1362d163355b79977eda358087435ee5982da9e5774b3b19043e858a3dfbc133
Contents?: true
Size: 639 Bytes
Versions: 69
Compression:
Stored size: 639 Bytes
Contents
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 File.read("Gemfile.lock").should_not =~ /^---/ 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 bundled_app.join(".bundle/environment.rb").should_not exist end end
Version data entries
69 entries across 69 versions & 7 rubygems