Use set_key_and_notify
This commit is contained in:
parent
2d652fcf5a
commit
8ab17a5305
|
@ -229,7 +229,7 @@ describe Gitlab::Workhorse, lib: true do
|
|||
let(:old_value) { 'existing-key' }
|
||||
|
||||
before do
|
||||
described_class.ensure_and_notify(key, old_value, overwrite: true)
|
||||
described_class.set_key_and_notify(key, old_value, overwrite: true)
|
||||
end
|
||||
|
||||
context 'and overwrite' do
|
||||
|
|
Loading…
Reference in New Issue