diff options
Diffstat (limited to 'spec/install/upgrade_spec.rb')
-rw-r--r-- | spec/install/upgrade_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/upgrade_spec.rb b/spec/install/upgrade_spec.rb index a855e44331..a57f974bbb 100644 --- a/spec/install/upgrade_spec.rb +++ b/spec/install/upgrade_spec.rb @@ -11,14 +11,14 @@ describe "bundle install for the first time with v1.0" do end it "removes lockfiles in 0.9 YAML format" do - File.open("Gemfile.lock", "w"){|f| YAML.dump({}, f) } + File.open("Gemfile.lock", "w") {|f| YAML.dump({}, f) } bundle :install expect(File.read("Gemfile.lock")).not_to match(/^---/) 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'") } + 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 |