summaryrefslogtreecommitdiff
path: root/spec/commands/binstubs_spec.rb
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/commands/binstubs_spec.rb
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/commands/binstubs_spec.rb')
-rw-r--r--spec/commands/binstubs_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb
index 9791ba2c3d..0aeb17d529 100644
--- a/spec/commands/binstubs_spec.rb
+++ b/spec/commands/binstubs_spec.rb
@@ -66,7 +66,7 @@ RSpec.describe "bundle binstubs <gem>" do
FileUtils.mkdir_p(lib_path("foo/bin"))
FileUtils.touch(lib_path("foo/bin/foo"))
build_git "foo", "1.0", :path => lib_path("foo") do |s|
- s.executables = %w(foo)
+ s.executables = %w[foo]
end
install_gemfile <<-G
gem "foo", :git => "#{lib_path("foo")}"
@@ -81,7 +81,7 @@ RSpec.describe "bundle binstubs <gem>" do
FileUtils.mkdir_p(lib_path("foo/bin"))
FileUtils.touch(lib_path("foo/bin/foo"))
build_lib "foo", "1.0", :path => lib_path("foo") do |s|
- s.executables = %w(foo)
+ s.executables = %w[foo]
end
install_gemfile <<-G
gem "foo", :path => "#{lib_path("foo")}"