diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-04-27 13:49:45 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-04-27 13:49:45 -0700 |
commit | 3ca7b137fbc7001a9b3384d2a44132913a93bb4b (patch) | |
tree | 9dc5814567b6053f19276541e668a22b5ab1240b /railties/lib/rails | |
parent | 4dcaffb04c8e35493b257f532ed3a5e0378d606f (diff) | |
parent | 804db94471b7f7d222fd7371de7443df86bfb7c8 (diff) | |
download | rails-3ca7b137fbc7001a9b3384d2a44132913a93bb4b.tar.gz rails-3ca7b137fbc7001a9b3384d2a44132913a93bb4b.tar.bz2 rails-3ca7b137fbc7001a9b3384d2a44132913a93bb4b.zip |
Merge pull request #6020 from 7even/test_queue_order
Rails::Queueing::TestQueue run order
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/queueing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/queueing.rb b/railties/lib/rails/queueing.rb index b77940f821..4892f85ae1 100644 --- a/railties/lib/rails/queueing.rb +++ b/railties/lib/rails/queueing.rb @@ -18,7 +18,7 @@ module Rails # run the jobs in a separate thread so assumptions of synchronous # jobs are caught in test mode. t = Thread.new do - while job = @contents.pop + while job = @contents.shift job.run end end |