mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix Kernel#srand and Kernel#rand descriptions [ci skip]
Actually used methods are all instance method, not the singleton method.
This commit is contained in:
parent
18fef09a02
commit
6c87f8fc29
Notes:
git
2021-12-16 17:44:31 +09:00
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
require_relative '../../spec_helper'
|
||||
require_relative 'fixtures/classes'
|
||||
|
||||
describe "Kernel.srand" do
|
||||
describe "Kernel#srand" do
|
||||
it "is a private method" do
|
||||
Kernel.should have_private_instance_method(:srand)
|
||||
end
|
||||
|
@ -60,6 +60,6 @@ describe "Kernel.srand" do
|
|||
end
|
||||
end
|
||||
|
||||
describe "Kernel#srand" do
|
||||
describe "Kernel.srand" do
|
||||
it "needs to be reviewed for spec completeness"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue