mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Clarify spec and change of behavior for Random::DEFAULT
This commit is contained in:
parent
d409837729
commit
f0e2ea2859
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ describe "Random::DEFAULT" do
|
|||
end
|
||||
|
||||
ruby_version_is '3.0' do
|
||||
it "returns a Random instance" do
|
||||
Random::DEFAULT.should be_an_instance_of(Class)
|
||||
it "refers to the Random class" do
|
||||
Random::DEFAULT.should.equal?(Random)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue