diff options
author | Cristian Bica <cristian.bica@gmail.com> | 2014-05-22 23:38:01 +0300 |
---|---|---|
committer | Cristian Bica <cristian.bica@gmail.com> | 2014-05-29 00:05:33 +0300 |
commit | 6eb163a706635c0ab5ede9056a0720f1a5f18f22 (patch) | |
tree | 0d451047a6f4e6b375b96e145fe185b92b1c8453 /test/jobs/logging_job.rb | |
parent | e597867bb3abcb9fdd95044e0b557549f6922746 (diff) | |
download | rails-6eb163a706635c0ab5ede9056a0720f1a5f18f22.tar.gz rails-6eb163a706635c0ab5ede9056a0720f1a5f18f22.tar.bz2 rails-6eb163a706635c0ab5ede9056a0720f1a5f18f22.zip |
Tagged logging
Diffstat (limited to 'test/jobs/logging_job.rb')
-rw-r--r-- | test/jobs/logging_job.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/jobs/logging_job.rb b/test/jobs/logging_job.rb new file mode 100644 index 0000000000..d84ed8589b --- /dev/null +++ b/test/jobs/logging_job.rb @@ -0,0 +1,10 @@ +class LoggingJob < ActiveJob::Base + def perform(dummy) + logger.info "Dummy, here is it: #{dummy}" + end + + def job_id + "LOGGING-JOB-ID" + end +end + |