diff options
author | Benoit Daloze <[email protected]> | 2020-11-27 10:29:39 +0100 |
---|---|---|
committer | Benoit Daloze <[email protected]> | 2020-11-27 10:29:39 +0100 |
commit | f0e2ea2859f9a51260f22b38fae1719a2eab59d9 (patch) | |
tree | 3b1ba95bb01d7c9a30f20dc5a34374d75a5a3b52 /spec | |
parent | d40983772966938828a28c6e89752a3e76447b9e (diff) |
Clarify spec and change of behavior for Random::DEFAULT
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/core/random/default_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/random/default_spec.rb b/spec/ruby/core/random/default_spec.rb index 0333abed6b..014cc378a9 100644 --- a/spec/ruby/core/random/default_spec.rb +++ b/spec/ruby/core/random/default_spec.rb @@ -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 |