mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
clean up empty lines
This commit is contained in:
parent
9d630d4368
commit
804db94471
1 changed files with 3 additions and 3 deletions
|
@ -27,14 +27,14 @@ class TestQueueTest < ActiveSupport::TestCase
|
|||
|
||||
def test_order
|
||||
time1 = time2 = nil
|
||||
|
||||
|
||||
job1 = Job.new(1) { time1 = Time.now }
|
||||
job2 = Job.new(2) { time2 = Time.now }
|
||||
|
||||
|
||||
@queue.push job1
|
||||
@queue.push job2
|
||||
@queue.drain
|
||||
|
||||
|
||||
assert time1 < time2, "Jobs run in the same order they were added"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue