Skip to content
Browse files

update code for tests

  • Loading branch information...
1 parent 8d5e6f6 commit d8a07537240ebe6933e61e314f5d4ca077ba3729 @gnufied committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 script/bdrb_test_helper.rb
View
6 script/bdrb_test_helper.rb
@@ -30,9 +30,9 @@ def self.iattr_accessor *args
module BackgrounDRb
class WorkerDummyLogger
- def info(data)
- end
- def debug(data)
+ %w(info debug fatal error warn).each do |x|
+ define_method(x) do |log_data|
+ end
end
end

0 comments on commit d8a0753

Please sign in to comment.
Something went wrong with that request. Please try again.