diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-05-09 12:50:44 +0900 |
---|---|---|
committer | Koichi ITO <lol@wut.com> | 2017-05-28 17:25:00 +0900 |
commit | c86d5494da463b01f4953947933022cde15c02cf (patch) | |
tree | 3931a29b0e936ec859c697ff068c2297bc82351e /spec/bundler/definition_spec.rb | |
parent | 6bfb49ef40cea035407ed01371a960c46c0ad09a (diff) | |
download | bundler-c86d5494da463b01f4953947933022cde15c02cf.tar.gz |
[RuboCop] Enable Style/PercentLiteralDelimiters
Run `rubocop -a --only Style/PercentLiteralDelimiters` and `rubocop --auto-gen-config`.
Diffstat (limited to 'spec/bundler/definition_spec.rb')
-rw-r--r-- | spec/bundler/definition_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/definition_spec.rb b/spec/bundler/definition_spec.rb index 73d44a93ab..23dfc19b78 100644 --- a/spec/bundler/definition_spec.rb +++ b/spec/bundler/definition_spec.rb @@ -221,7 +221,7 @@ RSpec.describe Bundler::Definition do :gems => ["shared_owner_a"], :lock_shared_dependencies => true ) locked = definition.send(:converge_locked_specs).map(&:name) - expect(locked).to eq %w(isolated_dep isolated_owner shared_dep shared_owner_b) + expect(locked).to eq %w[isolated_dep isolated_owner shared_dep shared_owner_b] expect(locked.include?("shared_dep")).to be_truthy end end @@ -242,7 +242,7 @@ RSpec.describe Bundler::Definition do describe "find_indexed_specs" do it "with no platform set in indexed specs" do index = Bundler::Index.new - %w(1.0.0 1.0.1 1.1.0).each {|v| index << build_stub_spec("foo", v) } + %w[1.0.0 1.0.1 1.1.0].each {|v| index << build_stub_spec("foo", v) } dfn = Bundler::Definition.new(nil, [], mock_source_list, true) dfn.instance_variable_set("@index", index) |