summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 03:55:09 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-27 03:55:09 +0000
commit06fba0f4d744d285497e4202b81661e40ab68540 (patch)
tree20aa49f87e698ba2925b0e55fc5ec3cf5543be6a /spec
parentc96f809729aabb9a91a20dd1bf53154b004fa8f8 (diff)
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
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/core/module/const_defined_spec.rb4
1 files 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