diff options
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 |