Skip to content

Commit

Permalink
Merge pull request #9681 from vipulnsward/fix_typo_in_module_name
Browse files Browse the repository at this point in the history
Fix typo in DependenciesTestHelpers module name
  • Loading branch information
carlosantoniodasilva committed Mar 12, 2013
2 parents f278deb + 8778e1c commit 466ff93
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions activesupport/test/caching_test.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'logger' require 'logger'
require 'abstract_unit' require 'abstract_unit'
require 'active_support/cache' require 'active_support/cache'
require 'dependecies_test_helpers' require 'dependencies_test_helpers'


class CacheKeyTest < ActiveSupport::TestCase class CacheKeyTest < ActiveSupport::TestCase
def test_entry_legacy_optional_ivars def test_entry_legacy_optional_ivars
Expand Down Expand Up @@ -564,7 +564,7 @@ def test_middleware
end end


module AutoloadingCacheBehavior module AutoloadingCacheBehavior
include DependeciesTestHelpers include DependenciesTestHelpers
def test_simple_autoloading def test_simple_autoloading
with_autoloading_fixtures do with_autoloading_fixtures do
@cache.write('foo', E.new) @cache.write('foo', E.new)
Expand Down
4 changes: 2 additions & 2 deletions activesupport/test/core_ext/marshal_test.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,10 @@
require 'abstract_unit' require 'abstract_unit'
require 'active_support/core_ext/marshal' require 'active_support/core_ext/marshal'
require 'dependecies_test_helpers' require 'dependencies_test_helpers'


class MarshalTest < ActiveSupport::TestCase class MarshalTest < ActiveSupport::TestCase
include ActiveSupport::Testing::Isolation include ActiveSupport::Testing::Isolation
include DependeciesTestHelpers include DependenciesTestHelpers


def teardown def teardown
ActiveSupport::Dependencies.clear ActiveSupport::Dependencies.clear
Expand Down
4 changes: 2 additions & 2 deletions activesupport/test/dependencies_test.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'abstract_unit' require 'abstract_unit'
require 'pp' require 'pp'
require 'active_support/dependencies' require 'active_support/dependencies'
require 'dependecies_test_helpers' require 'dependencies_test_helpers'


module ModuleWithMissing module ModuleWithMissing
mattr_accessor :missing_count mattr_accessor :missing_count
Expand All @@ -20,7 +20,7 @@ def teardown
ActiveSupport::Dependencies.clear ActiveSupport::Dependencies.clear
end end


include DependeciesTestHelpers include DependenciesTestHelpers


def test_depend_on_path def test_depend_on_path
skip "LoadError#path does not exist" if RUBY_VERSION < '2.0.0' skip "LoadError#path does not exist" if RUBY_VERSION < '2.0.0'
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
module DependeciesTestHelpers module DependenciesTestHelpers
def with_loading(*from) def with_loading(*from)
old_mechanism, ActiveSupport::Dependencies.mechanism = ActiveSupport::Dependencies.mechanism, :load old_mechanism, ActiveSupport::Dependencies.mechanism = ActiveSupport::Dependencies.mechanism, :load
this_dir = File.dirname(__FILE__) this_dir = File.dirname(__FILE__)
Expand Down

0 comments on commit 466ff93

Please sign in to comment.