mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
stub the warn_local_gems call in the update command of the plugin manager as is only relevant for master, not for the version branches
Fixes #4212
This commit is contained in:
parent
b51608a907
commit
29b6301199
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ describe LogStash::PluginManager::Update do
|
|||
|
||||
before(:each) do
|
||||
expect(cmd).to receive(:find_latest_gem_specs).and_return({})
|
||||
expect(cmd).to receive(:warn_local_gems).and_return(nil)
|
||||
allow(cmd).to receive(:warn_local_gems).and_return(nil)
|
||||
expect(cmd).to receive(:display_updated_plugins).and_return(nil)
|
||||
expect_any_instance_of(LogStash::Bundler).to receive(:invoke!).with(:clean => true)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue