Skip to content

Commit 1cafa08

Browse files
committedDec 13, 2015
Fix a typo s/refering/referring/
1 parent 5a78231 commit 1cafa08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎spec/ruby/core/module/autoload_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class ModuleSpecs::Autoload::HClass
155155
ModuleSpecs::Autoload.use_ex1.should == :good
156156
end
157157

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

182-
it "returns 'constant' on refering the constant with defined?()" do
182+
it "returns 'constant' on referring the constant with defined?()" do
183183
module ModuleSpecs::Autoload::Q
184184
autoload :R, fixture(__FILE__, "autoload.rb")
185185
defined?(R).should == 'constant'

0 commit comments

Comments
 (0)
Please sign in to comment.