https://github.com/mperham/sidekiq
Revision 7a63036b2187a3236b7015fc0b2770ff8ad692d4 authored by Fernando Seror Garcia on 26 November 2016, 05:19:16 UTC, committed by Mike Perham on 26 November 2016, 05:19:16 UTC
Trying to emulate the real behavior, the job obtains an enqueued_at
attribute when it's placed in a queue.

Since using perform_in or perform_at does not put the job in the queue
when run, the attribute is not set for those methods.
1 parent 2367bc1
Raw File
Tip revision: 7a63036b2187a3236b7015fc0b2770ff8ad692d4 authored by Fernando Seror Garcia on 26 November 2016, 05:19:16 UTC
Add the enqueued_at attribute when fake Testing (#3258)
Tip revision: 7a63036
.travis.yml
language: ruby
sudo: false
cache: bundler
services:
  - redis-server
before_install:
  - gem install bundler
  - gem update bundler
rvm:
  - 2.2.4
  - 2.3.0
  - jruby-head
back to top