diff options
Diffstat (limited to 'spec/ruby/core/module')
-rw-r--r-- | spec/ruby/core/module/alias_method_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/module/autoload_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/module/alias_method_spec.rb b/spec/ruby/core/module/alias_method_spec.rb index b14f5430a8..662e91011f 100644 --- a/spec/ruby/core/module/alias_method_spec.rb +++ b/spec/ruby/core/module/alias_method_spec.rb @@ -14,7 +14,7 @@ describe "Module#alias_method" do @object.double(12).should == @object.public_two(12) end - it "creates methods that are == to eachother" do + it "creates methods that are == to each other" do @class.make_alias :uno, :public_one @object.method(:uno).should == @object.method(:public_one) end diff --git a/spec/ruby/core/module/autoload_spec.rb b/spec/ruby/core/module/autoload_spec.rb index db95704cc7..9964602347 100644 --- a/spec/ruby/core/module/autoload_spec.rb +++ b/spec/ruby/core/module/autoload_spec.rb @@ -23,7 +23,7 @@ describe "Module#autoload?" do ModuleSpecs::Autoload::Child.autoload?(:InheritedAutoload, false).should be_nil end - it "returns the name of the file that will be loaded if recursion is disabled but the autoload is defined on the classs itself" do + it "returns the name of the file that will be loaded if recursion is disabled but the autoload is defined on the class itself" do ModuleSpecs::Autoload::Child.autoload :ChildAutoload, "child_autoload.rb" ModuleSpecs::Autoload::Child.autoload?(:ChildAutoload, false).should == "child_autoload.rb" end |