Skip to content

Commit

Permalink
Fix a typo s/refering/referring/
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Dec 13, 2015
1 parent 5a78231 commit 1cafa08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/ruby/core/module/autoload_spec.rb
Expand Up @@ -155,7 +155,7 @@ class ModuleSpecs::Autoload::HClass
ModuleSpecs::Autoload.use_ex1.should == :good
end

it "does not load the file when refering to the constant in defined?" do
it "does not load the file when referring to the constant in defined?" do
module ModuleSpecs::Autoload::Q
autoload :R, fixture(__FILE__, "autoload.rb")
defined?(R).should == "constant"
Expand All @@ -179,7 +179,7 @@ module ModuleSpecs::Autoload::Q
ModuleSpecs::Autoload.should have_constant(:O)
end

it "returns 'constant' on refering the constant with defined?()" do
it "returns 'constant' on referring the constant with defined?()" do
module ModuleSpecs::Autoload::Q
autoload :R, fixture(__FILE__, "autoload.rb")
defined?(R).should == 'constant'
Expand Down

0 comments on commit 1cafa08

Please sign in to comment.