Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Test: fix super() syntax with define_method
  • Loading branch information
kares committed Jan 25, 2022
commit edb2e3f19d551be9e7edf4297b8d9b1185e408ee
2 changes: 1 addition & 1 deletion spec/plugin_mixin/http_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Dummy < LogStash::Inputs::Base
end

context "with a user but no password specified" do
let(:client_config) { c = super; c.delete("password"); c }
let(:client_config) { c = super(); c.delete("password"); c }

it "should raise a configuration error" do
expect { subject }.to raise_error(::LogStash::ConfigurationError)
Expand Down