Clarify spec and change of behavior for Random::DEFAULT
This commit is contained in:
parent
d409837729
commit
f0e2ea2859
@ -13,8 +13,8 @@ describe "Random::DEFAULT" do
|
|||||||
end
|
end
|
||||||
|
|
||||||
ruby_version_is '3.0' do
|
ruby_version_is '3.0' do
|
||||||
it "returns a Random instance" do
|
it "refers to the Random class" do
|
||||||
Random::DEFAULT.should be_an_instance_of(Class)
|
Random::DEFAULT.should.equal?(Random)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user