diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-06-27 21:21:33 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-06-27 21:21:33 +0200 |
commit | a2091c3023a6741049d20beffbe8c94c2d5f4732 (patch) | |
tree | 0635b0f178496c38c1418d88533e99fb272c7b79 /spec/ruby/core/random/shared | |
parent | 632a97227e0821bd7bedcf3f053b16e6b0b753fa (diff) | |
download | ruby-a2091c3023a6741049d20beffbe8c94c2d5f4732.tar.gz |
Update to ruby/spec@94d98ff
Diffstat (limited to 'spec/ruby/core/random/shared')
-rw-r--r-- | spec/ruby/core/random/shared/bytes.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/random/shared/urandom.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/random/shared/bytes.rb b/spec/ruby/core/random/shared/bytes.rb index 54b6b0e4df..fe8cd8d683 100644 --- a/spec/ruby/core/random/shared/bytes.rb +++ b/spec/ruby/core/random/shared/bytes.rb @@ -7,7 +7,7 @@ describe :random_bytes, shared: true do @object.bytes(15).length.should == 15 end - it "returns an BINARY String" do + it "returns a binary String" do @object.bytes(15).encoding.should == Encoding::BINARY end diff --git a/spec/ruby/core/random/shared/urandom.rb b/spec/ruby/core/random/shared/urandom.rb index e5ffcffca6..316167b63f 100644 --- a/spec/ruby/core/random/shared/urandom.rb +++ b/spec/ruby/core/random/shared/urandom.rb @@ -13,7 +13,7 @@ describe :random_urandom, shared: true do }.should raise_error(ArgumentError) end - it "returns an BINARY String" do + it "returns a binary String" do Random.send(@method, 15).encoding.should == Encoding::BINARY end |