Skip to content

Commit 2edfa95

Browse files
committed
Reduce duration of #sleep spec
1 parent 9ea6d6a commit 2edfa95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ruby/core/kernel/sleep_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
it "accepts any Object that reponds to divmod" do
2626
o = Object.new
27-
def o.divmod(*); [1,0.2]; end
27+
def o.divmod(*); [0, 0.001]; end
2828
sleep(o).should >= 0
2929
end
3030

0 commit comments

Comments
 (0)