diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-01-07 17:00:14 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2026-01-07 08:49:23 +0000 |
| commit | 7d4983803887a45c311ab954de4527333b976500 (patch) | |
| tree | d3ec6643f8be4a7f9ab779a6c1b4eeb27d699fc1 /spec | |
| parent | 3657700c4069ffd5d9e9b900e75f484f80eb8e3f (diff) | |
[ruby/rubygems] bin/rubocop -A
https://github.com/ruby/rubygems/commit/e3f418aa11
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/bundler/commands/add_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/commands/add_spec.rb b/spec/bundler/commands/add_spec.rb index 79f036d3cd..ed98a914f3 100644 --- a/spec/bundler/commands/add_spec.rb +++ b/spec/bundler/commands/add_spec.rb @@ -239,7 +239,7 @@ RSpec.describe "bundle add" do describe "with mismatched pair in --git/--github, --branch/--ref" do describe "with --git and --github" do it "throws error" do - bundle "add 'foo' --git x --github y", :raise_on_error => false + bundle "add 'foo' --git x --github y", raise_on_error: false expect(err).to include("You cannot specify `--git` and `--github` at the same time.") end @@ -247,7 +247,7 @@ RSpec.describe "bundle add" do describe "with --branch and --ref with --git" do it "throws error" do - bundle "add 'foo' --branch x --ref y --git file://git", :raise_on_error => false + bundle "add 'foo' --branch x --ref y --git file://git", raise_on_error: false expect(err).to include("You cannot specify `--branch` and `--ref` at the same time.") end @@ -255,7 +255,7 @@ RSpec.describe "bundle add" do describe "with --branch but without --git or --github" do it "throws error" do - bundle "add 'foo' --branch x", :raise_on_error => false + bundle "add 'foo' --branch x", raise_on_error: false expect(err).to include("You cannot specify `--branch` unless `--git` or `--github` is specified.") end @@ -263,7 +263,7 @@ RSpec.describe "bundle add" do describe "with --ref but without --git or --github" do it "throws error" do - bundle "add 'foo' --ref y", :raise_on_error => false + bundle "add 'foo' --ref y", raise_on_error: false expect(err).to include("You cannot specify `--ref` unless `--git` or `--github` is specified.") end |
