Skip to content

Commit

Permalink
WatchDog
Browse files Browse the repository at this point in the history
Updating unit tests

Signed-off-by: Rodrigo Nardi <[email protected]>
  • Loading branch information
RodrigoMNardi committed Jan 10, 2025
1 parent e942170 commit 3fc607c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/lib/github/build_plan_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
before do
allow(File).to receive(:read).and_return('')
allow(OpenSSL::PKey::RSA).to receive(:new).and_return(OpenSSL::PKey::RSA.new(2048))
allow(TimeoutExecution).to receive_message_chain(:delay, :timeout).and_return(true)
end

describe 'Valid commands' do
Expand Down
1 change: 1 addition & 0 deletions spec/lib/github/re_run/command_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
before do
allow(File).to receive(:read).and_return('')
allow(OpenSSL::PKey::RSA).to receive(:new).and_return(OpenSSL::PKey::RSA.new(2048))
allow(TimeoutExecution).to receive_message_chain(:delay, :timeout).and_return(true)
end

describe 'Invalid payload' do
Expand Down

0 comments on commit 3fc607c

Please sign in to comment.