From 06fba0f4d744d285497e4202b81661e40ab68540 Mon Sep 17 00:00:00 2001 From: a_matsuda Date: Fri, 27 Oct 2017 03:55:09 +0000 Subject: Fix typo Patch by: 284km 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 --- spec/ruby/core/module/const_defined_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/ruby/core/module/const_defined_spec.rb b/spec/ruby/core/module/const_defined_spec.rb index 527b682414..0789a03e1c 100644 --- a/spec/ruby/core/module/const_defined_spec.rb +++ b/spec/ruby/core/module/const_defined_spec.rb @@ -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 -- cgit v1.2.3