summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Swandale <me@colby.fyi>2018-11-16 21:00:19 +1100
committerColby Swandale <me@colby.fyi>2018-11-16 21:00:19 +1100
commit19237b490b690b8f9cf922f2ac982ef684c23cee (patch)
tree971be09e31e998407333166275423760e764060a
parent2bf93186c42a1a13e822fe1fedcc811ec210b87b (diff)
downloadbundler-19237b490b690b8f9cf922f2ac982ef684c23cee.tar.gz
fix rubocop
-rw-r--r--spec/bundler/plugin/index_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/bundler/plugin/index_spec.rb b/spec/bundler/plugin/index_spec.rb
index 1f3dd62d0c..e18e960fb8 100644
--- a/spec/bundler/plugin/index_spec.rb
+++ b/spec/bundler/plugin/index_spec.rb
@@ -89,11 +89,11 @@ RSpec.describe Bundler::Plugin::Index do
it "only registers a gem once for an event" do
path = lib_path(plugin_name)
index.register_plugin(plugin_name,
- path.to_s,
- [path.join("lib").to_s],
- commands,
- sources,
- hooks + hooks)
+ path.to_s,
+ [path.join("lib").to_s],
+ commands,
+ sources,
+ hooks + hooks)
expect(index.hook_plugins("after-bar")).to eq([plugin_name])
end