diff options
Diffstat (limited to 'spec/ruby/core/module/const_get_spec.rb')
-rw-r--r-- | spec/ruby/core/module/const_get_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/module/const_get_spec.rb b/spec/ruby/core/module/const_get_spec.rb index 461b303d6d..d125c35762 100644 --- a/spec/ruby/core/module/const_get_spec.rb +++ b/spec/ruby/core/module/const_get_spec.rb @@ -66,7 +66,7 @@ describe "Module#const_get" do end.should raise_error(NameError) end - it "raises a NameError if the constant is defined in the receiver's supperclass and the inherit flag is false" do + it "raises a NameError if the constant is defined in the receiver's superclass and the inherit flag is false" do lambda do ConstantSpecs::ContainerA::ChildA.const_get(:CS_CONST4, false) end.should raise_error(NameError) |