mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@28a728b
This commit is contained in:
parent
3eb0d50c0b
commit
664e96b1de
42 changed files with 484 additions and 117 deletions
|
@ -5,7 +5,6 @@ require 'securerandom'
|
|||
|
||||
describe "SecureRandom.random_bytes" do
|
||||
it_behaves_like :random_bytes, :random_bytes, SecureRandom
|
||||
it_behaves_like :random_bytes, :bytes, SecureRandom
|
||||
|
||||
it "generates a random binary string of length 16 if no argument is provided" do
|
||||
bytes = SecureRandom.random_bytes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue