summaryrefslogtreecommitdiff
path: root/spec/ruby/library/openssl/random/shared/random_bytes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/openssl/random/shared/random_bytes.rb')
-rw-r--r--spec/ruby/library/openssl/random/shared/random_bytes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/openssl/random/shared/random_bytes.rb b/spec/ruby/library/openssl/random/shared/random_bytes.rb
index 037f10d409..f97ccd9974 100644
--- a/spec/ruby/library/openssl/random/shared/random_bytes.rb
+++ b/spec/ruby/library/openssl/random/shared/random_bytes.rb
@@ -1,7 +1,7 @@
require_relative '../../../../spec_helper'
require 'openssl'
-describe :openssl_random_bytes, shared: true do |cmd|
+describe :openssl_random_bytes, shared: true do
it "generates a random binary string of specified length" do
(1..64).each do |idx|
bytes = OpenSSL::Random.send(@method, idx)