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
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)
Add the enqueued_at attribute when fake Testing (#3258)
Tip revision: 7a63036
File | Mode | Size |
---|---|---|
.github | ||
bin | ||
examples | ||
lib | ||
myapp | ||
test | ||
web | ||
.gitignore | -rw-r--r-- | 104 bytes |
.travis.yml | -rw-r--r-- | 172 bytes |
3.0-Upgrade.md | -rw-r--r-- | 3.0 KB |
4.0-Upgrade.md | -rw-r--r-- | 2.0 KB |
COMM-LICENSE | -rw-r--r-- | 17.9 KB |
Changes.md | -rw-r--r-- | 42.9 KB |
Ent-Changes.md | -rw-r--r-- | 3.7 KB |
Gemfile | -rw-r--r-- | 568 bytes |
LICENSE | -rw-r--r-- | 408 bytes |
Pro-2.0-Upgrade.md | -rw-r--r-- | 4.4 KB |
Pro-3.0-Upgrade.md | -rw-r--r-- | 1.3 KB |
Pro-Changes.md | -rw-r--r-- | 14.9 KB |
README.md | -rw-r--r-- | 4.3 KB |
Rakefile | -rw-r--r-- | 234 bytes |
code_of_conduct.md | -rw-r--r-- | 2.3 KB |
sidekiq.gemspec | -rw-r--r-- | 1.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...