summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/-ext-/postponed_job/test_postponed_job.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/-ext-/postponed_job/test_postponed_job.rb b/test/-ext-/postponed_job/test_postponed_job.rb
index cf32eb7bd3..b1111ba330 100644
--- a/test/-ext-/postponed_job/test_postponed_job.rb
+++ b/test/-ext-/postponed_job/test_postponed_job.rb
@@ -21,5 +21,8 @@ class TestPostponed_job < Test::Unit::TestCase
assert_match /postponed_job_call_direct_wrapper/, direct.join
assert_not_match /postponed_job_register_wrapper/, registered.join
+
+ Bug.postponed_job_register_one(ary = [])
+ assert_equal [1], ary
end
end