diff options
Diffstat (limited to 'spec/ruby/core/random/rand_spec.rb')
-rw-r--r-- | spec/ruby/core/random/rand_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/ruby/core/random/rand_spec.rb b/spec/ruby/core/random/rand_spec.rb index d1a76e5dac..0e423301f8 100644 --- a/spec/ruby/core/random/rand_spec.rb +++ b/spec/ruby/core/random/rand_spec.rb @@ -4,7 +4,6 @@ require_relative 'shared/rand' describe "Random.rand" do it_behaves_like :random_number, :rand, Random.new - it_behaves_like :random_number, :random_number, Random.new it_behaves_like :random_number, :rand, Random it "returns a Float >= 0 if no max argument is passed" do @@ -218,9 +217,3 @@ describe "Random#rand with Range" do end.should raise_error(ArgumentError) end end - -ruby_version_is "2.6" do - describe "Random.random_number" do - it_behaves_like :random_number, :random_number, Random - end -end |