summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-20 10:43:23 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-02-20 10:43:23 +0000
commit7c2bbd1c7d40a30583844d649045824161772e36 (patch)
tree4709f5d41a1c5879c1ff52004c47c6b5210928f7 /spec
parent5f08c9e2e073db205ec2bf2f5843117cb92ada68 (diff)
downloadruby-7c2bbd1c7d40a30583844d649045824161772e36.tar.gz
Adjust the rubycop rules of Bundler upstream repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/commands/clean_spec.rb2
-rw-r--r--spec/bundler/quality_spec.rb2
-rw-r--r--spec/bundler/support/helpers.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/commands/clean_spec.rb b/spec/bundler/commands/clean_spec.rb
index c18c7a195f..e1f007fc35 100644
--- a/spec/bundler/commands/clean_spec.rb
+++ b/spec/bundler/commands/clean_spec.rb
@@ -464,7 +464,7 @@ RSpec.describe "bundle clean" do
gem = ruby_core? ? ENV["BUNDLE_GEM"] : "gem"
sys_exec! "#{gem} list"
- expect(out).to include("foo (1.0.1, 1.0)")
+ expect(out).to include("foo (1.0.1, 1.0)")
end
it "cleans system gems when --force is used" do
diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb
index 1b40ecce12..b24b42c542 100644
--- a/spec/bundler/quality_spec.rb
+++ b/spec/bundler/quality_spec.rb
@@ -228,7 +228,7 @@ RSpec.describe "The library itself" do
if ruby_core?
spec = Gem::Specification.load(gemspec.to_s)
spec.bindir = "libexec"
- File.open(root.join("bundler.gemspec").to_s, "w"){|f| f.write spec.to_ruby }
+ File.open(root.join("bundler.gemspec").to_s, "w") {|f| f.write spec.to_ruby }
gem_command! :build, root.join("bundler.gemspec").to_s
FileUtils.rm(root.join("bundler.gemspec").to_s)
else
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb
index fbe63a2641..89c67c45b7 100644
--- a/spec/bundler/support/helpers.rb
+++ b/spec/bundler/support/helpers.rb
@@ -316,7 +316,7 @@ module Spec
if ruby_core?
spec = Gem::Specification.load(gemspec.to_s)
spec.bindir = "libexec"
- File.open(root.join("bundler.gemspec").to_s, "w"){|f| f.write spec.to_ruby }
+ File.open(root.join("bundler.gemspec").to_s, "w") {|f| f.write spec.to_ruby }
Dir.chdir(root) { gem_command! :build, root.join("bundler.gemspec").to_s }
FileUtils.rm(root.join("bundler.gemspec"))
else