mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@8d74d49
This commit is contained in:
parent
c940397116
commit
d80e44deec
157 changed files with 581 additions and 543 deletions
|
@ -7,8 +7,8 @@ describe :random_bytes, shared: true do
|
|||
@object.bytes(15).length.should == 15
|
||||
end
|
||||
|
||||
it "returns an ASCII-8BIT String" do
|
||||
@object.bytes(15).encoding.should == Encoding::ASCII_8BIT
|
||||
it "returns an BINARY String" do
|
||||
@object.bytes(15).encoding.should == Encoding::BINARY
|
||||
end
|
||||
|
||||
it "returns a random binary String" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue