summaryrefslogtreecommitdiff
path: root/spec/bundler/plugin/index_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/plugin/index_spec.rb')
-rw-r--r--spec/bundler/plugin/index_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/plugin/index_spec.rb b/spec/bundler/plugin/index_spec.rb
index 925dc558ac..ae64756298 100644
--- a/spec/bundler/plugin/index_spec.rb
+++ b/spec/bundler/plugin/index_spec.rb
@@ -4,7 +4,7 @@ RSpec.describe Bundler::Plugin::Index do
Index = Bundler::Plugin::Index
before do
- allow(Bundler::SharedHelpers).to receive(:find_gemfile).and_return(bundled_app_gemfile)
+ allow(Bundler::SharedHelpers).to receive(:pwd).and_return(bundled_app)
gemfile ""
path = lib_path(plugin_name)
index.register_plugin("new-plugin", path.to_s, [path.join("lib").to_s], commands, sources, hooks)