1
0
Fork 0
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:
Benoit Daloze 2020-11-27 10:29:39 +01:00
parent d409837729
commit f0e2ea2859

View file

@ -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