diff options
Diffstat (limited to 'spec/ruby/core/random/raw_seed_spec.rb')
-rw-r--r-- | spec/ruby/core/random/raw_seed_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/core/random/raw_seed_spec.rb b/spec/ruby/core/random/raw_seed_spec.rb new file mode 100644 index 0000000000..881cceada9 --- /dev/null +++ b/spec/ruby/core/random/raw_seed_spec.rb @@ -0,0 +1,9 @@ +# -*- encoding: binary -*- +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../shared/urandom', __FILE__) + +ruby_version_is "2.5" do + describe "Random.urandom" do + it_behaves_like :random_urandom, :urandom + end +end |