mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typo
Patch by: 284km <k.furuhashi10@gmail.com> https://github.com/ruby/ruby/pull/1729 [Fix GH-1729] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c96f809729
commit
06fba0f4d7
1 changed files with 2 additions and 2 deletions
|
@ -12,12 +12,12 @@ describe "Module#const_defined?" do
|
|||
ConstantSpecs::ContainerA.const_defined?(:ChildA).should == true
|
||||
end
|
||||
|
||||
it "returns true if the constant is defined in the reciever's superclass" do
|
||||
it "returns true if the constant is defined in the receiver's superclass" do
|
||||
# CS_CONST4 is defined in the superclass of ChildA
|
||||
ConstantSpecs::ContainerA::ChildA.const_defined?(:CS_CONST4).should be_true
|
||||
end
|
||||
|
||||
it "returns true if the constant is defined in a mixed-in module of the reciever" do
|
||||
it "returns true if the constant is defined in a mixed-in module of the receiver" do
|
||||
# CS_CONST10 is defined in a module included by ChildA
|
||||
ConstantSpecs::ContainerA::ChildA.const_defined?(:CS_CONST10).should be_true
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue