summaryrefslogtreecommitdiff
path: root/spec/cache
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-09 12:50:44 +0900
committerKoichi ITO <lol@wut.com>2017-05-28 17:25:00 +0900
commitc86d5494da463b01f4953947933022cde15c02cf (patch)
tree3931a29b0e936ec859c697ff068c2297bc82351e /spec/cache
parent6bfb49ef40cea035407ed01371a960c46c0ad09a (diff)
downloadbundler-c86d5494da463b01f4953947933022cde15c02cf.tar.gz
[RuboCop] Enable Style/PercentLiteralDelimiters
Run `rubocop -a --only Style/PercentLiteralDelimiters` and `rubocop --auto-gen-config`.
Diffstat (limited to 'spec/cache')
-rw-r--r--spec/cache/git_spec.rb2
-rw-r--r--spec/cache/path_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/cache/git_spec.rb b/spec/cache/git_spec.rb
index 31b3816a3b..4bd0aa41b5 100644
--- a/spec/cache/git_spec.rb
+++ b/spec/cache/git_spec.rb
@@ -13,7 +13,7 @@ RSpec.describe "git base name" do
end
end
-%w(cache package).each do |cmd|
+%w[cache package].each do |cmd|
RSpec.describe "bundle #{cmd} with git" do
it "copies repository to vendor cache and uses it" do
git = build_git "foo"
diff --git a/spec/cache/path_spec.rb b/spec/cache/path_spec.rb
index bbce448759..ab54e39663 100644
--- a/spec/cache/path_spec.rb
+++ b/spec/cache/path_spec.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
require "spec_helper"
-%w(cache package).each do |cmd|
+%w[cache package].each do |cmd|
RSpec.describe "bundle #{cmd} with path" do
it "is no-op when the path is within the bundle" do
build_lib "foo", :path => bundled_app("lib/foo")