diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-07-05 08:39:47 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-07-05 10:02:41 +0900 |
commit | 8c46abfd702914408fee4f1c2d357b83d008f478 (patch) | |
tree | 702a707def5b0c9462f11f5797a17c0a93ff8574 /activesupport/lib/active_support/gem_version.rb | |
parent | ee50de03908f24c377d4842f759182fe9241c6fa (diff) | |
download | rails-8c46abfd702914408fee4f1c2d357b83d008f478.tar.gz rails-8c46abfd702914408fee4f1c2d357b83d008f478.tar.bz2 rails-8c46abfd702914408fee4f1c2d357b83d008f478.zip |
test with latest resque
When run test of Active Job with resque 1.26, occurs following error.
```
QueuingTest#test_current_locale_is_kept_while_running_perform_later:
NoMethodError: undefined method `current_tags' for #<Resque::QuietFormatter:0x0055b44f63ed50>
/home/yaginuma/program/rails/master_y_yagi/rails/activejob/lib/active_job/logging.rb:51:in `logger_tagged_by_active_job?'
```
This was happening for the formatter class of resque not the formatter class of
Rails is they've been used to logger.formatter.
This was happening because become fomatter is changed during the instantiation
of worker in the resque 1.26.
In the master, unless the environment variable is set, fomatter is so as not to
be changed, test will pass.
Ref: https://github.com/resque/resque/pull/1439
Diffstat (limited to 'activesupport/lib/active_support/gem_version.rb')
0 files changed, 0 insertions, 0 deletions