1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in DependenciesTestHelpers module name

This commit is contained in:
Vipul A M 2013-03-12 10:33:32 +05:30
parent 51af1b1126
commit 8778e1c4af
4 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
require 'logger'
require 'abstract_unit'
require 'active_support/cache'
require 'dependecies_test_helpers'
require 'dependencies_test_helpers'
class CacheKeyTest < ActiveSupport::TestCase
def test_entry_legacy_optional_ivars
@ -564,7 +564,7 @@ module LocalCacheBehavior
end
module AutoloadingCacheBehavior
include DependeciesTestHelpers
include DependenciesTestHelpers
def test_simple_autoloading
with_autoloading_fixtures do
@cache.write('foo', E.new)

View file

@ -1,10 +1,10 @@
require 'abstract_unit'
require 'active_support/core_ext/marshal'
require 'dependecies_test_helpers'
require 'dependencies_test_helpers'
class MarshalTest < ActiveSupport::TestCase
include ActiveSupport::Testing::Isolation
include DependeciesTestHelpers
include DependenciesTestHelpers
def teardown
ActiveSupport::Dependencies.clear

View file

@ -1,7 +1,7 @@
require 'abstract_unit'
require 'pp'
require 'active_support/dependencies'
require 'dependecies_test_helpers'
require 'dependencies_test_helpers'
module ModuleWithMissing
mattr_accessor :missing_count
@ -20,7 +20,7 @@ class DependenciesTest < ActiveSupport::TestCase
ActiveSupport::Dependencies.clear
end
include DependeciesTestHelpers
include DependenciesTestHelpers
def test_depend_on_path
skip "LoadError#path does not exist" if RUBY_VERSION < '2.0.0'

View file

@ -1,4 +1,4 @@
module DependeciesTestHelpers
module DependenciesTestHelpers
def with_loading(*from)
old_mechanism, ActiveSupport::Dependencies.mechanism = ActiveSupport::Dependencies.mechanism, :load
this_dir = File.dirname(__FILE__)