diff options
author | Vsevolod Romashov <7@7vn.ru> | 2012-04-28 00:15:51 +0400 |
---|---|---|
committer | Vsevolod Romashov <7@7vn.ru> | 2012-04-28 00:15:51 +0400 |
commit | 9d630d4368a2a8c0d7f1797486f1c3ad37e03185 (patch) | |
tree | 97b5fb63337e5b40ef889f25fe3b9cba5eb7db3b /railties/lib/rails | |
parent | cd50b60431881b808d596f394befd38a2d453603 (diff) | |
download | rails-9d630d4368a2a8c0d7f1797486f1c3ad37e03185.tar.gz rails-9d630d4368a2a8c0d7f1797486f1c3ad37e03185.tar.bz2 rails-9d630d4368a2a8c0d7f1797486f1c3ad37e03185.zip |
fixes run order in Rails::Queueing::TestQueue
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 |