Skip to content

Commit

Permalink
Fixed regexp matching, not clear with it worked properly before
Browse files Browse the repository at this point in the history
  • Loading branch information
andsel committed Jun 15, 2023
1 parent 0a4b616 commit 0c92eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/plugin_manager/pack_installer/local_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
it "install the gems" do
expect(::Bundler::LogstashInjector).to receive(:inject!).with(be_kind_of(LogStash::PluginManager::PackInstaller::Pack)).and_return([])

expect(::LogStash::PluginManager::GemInstaller).to receive(:install).with(/logstash-input-packtest/, anything)
expect(::LogStash::PluginManager::GemInstaller).to receive(:install).with(/logstash-input-packtestdep/, anything)
expect(::LogStash::PluginManager::GemInstaller).to receive(:install).with(/logstash-input-packtest-/, anything)
expect(::LogStash::PluginManager::GemInstaller).to receive(:install).with(/logstash-input-packtestdep-/, anything)

expect { subject.execute }.not_to raise_error
end
Expand Down

0 comments on commit 0c92eb3

Please sign in to comment.