summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2014-01-14 16:55:37 -0800
committersersut <serdar@opscode.com>2014-01-14 16:55:59 -0800
commit2b15bada46ad96f4bb74cc90e0f15d270c847603 (patch)
treea699ae6700829468162c16cc869b88843cd668ac
parenta950e9ea474710185fc3d68866c0ebf1660070a6 (diff)
downloadohai-2b15bada46ad96f4bb74cc90e0f15d270c847603.tar.gz
Decrease the chance of specs failing to 1 / 2^32
-rw-r--r--spec/unit/system_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/system_spec.rb b/spec/unit/system_spec.rb
index 3923857e..e56d00c5 100644
--- a/spec/unit/system_spec.rb
+++ b/spec/unit/system_spec.rb
@@ -535,7 +535,7 @@ EOF
provides 'random'
collect_data do
- random rand(100)
+ random rand(1 << 32)
end
end
E