diff options
Diffstat (limited to 'spec/ruby/core/random/urandom_spec.rb')
-rw-r--r-- | spec/ruby/core/random/urandom_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/core/random/urandom_spec.rb b/spec/ruby/core/random/urandom_spec.rb new file mode 100644 index 0000000000..1cc0103e35 --- /dev/null +++ b/spec/ruby/core/random/urandom_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.3"..."2.5" do + describe "Random.raw_seed" do + it_behaves_like :random_urandom, :raw_seed + end +end |