aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/update/redownload_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/update/redownload_spec.rb')
-rw-r--r--spec/bundler/update/redownload_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/update/redownload_spec.rb b/spec/bundler/update/redownload_spec.rb
index b55593d077..4a8c711bfa 100644
--- a/spec/bundler/update/redownload_spec.rb
+++ b/spec/bundler/update/redownload_spec.rb
@@ -9,12 +9,12 @@ RSpec.describe "bundle update" do
end
describe "with --force" do
- it "shows a deprecation when single flag passed", :bundler => 2 do
+ it "shows a deprecation when single flag passed", bundler: 2 do
bundle "update rack --force"
expect(err).to include "[DEPRECATED] The `--force` option has been renamed to `--redownload`"
end
- it "shows a deprecation when multiple flags passed", :bundler => 2 do
+ it "shows a deprecation when multiple flags passed", bundler: 2 do
bundle "update rack --no-color --force"
expect(err).to include "[DEPRECATED] The `--force` option has been renamed to `--redownload`"
end
@@ -34,7 +34,7 @@ RSpec.describe "bundle update" do
it "re-installs installed gems" do
rack_lib = default_bundle_path("gems/rack-1.0.0/lib/rack.rb")
rack_lib.open("w") {|f| f.write("blah blah blah") }
- bundle :update, :redownload => true
+ bundle :update, redownload: true
expect(out).to include "Installing rack 1.0.0"
expect(rack_lib.open(&:read)).to eq("RACK = '1.0.0'\n")