diff options
author | José Valim <jose.valim@gmail.com> | 2012-05-21 21:01:02 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-05-21 21:01:02 +0200 |
commit | 776ea1090fb9ba4353035d4983cf1926a67b3294 (patch) | |
tree | a406f0a86b4199fcf21287e7726311ea7918f306 /actionpack/test/template | |
parent | 254c04286c5916ae7f91eb6e173b312e7a74e364 (diff) | |
download | rails-776ea1090fb9ba4353035d4983cf1926a67b3294.tar.gz rails-776ea1090fb9ba4353035d4983cf1926a67b3294.tar.bz2 rails-776ea1090fb9ba4353035d4983cf1926a67b3294.zip |
Revert "Merge pull request #6425 from pinetops/resolver_concurrency_fix"
This reverts commit 254c04286c5916ae7f91eb6e173b312e7a74e364, reversing
changes made to 513a0525c24c2944630acfa465b22cd2f4601adf.
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/lookup_context_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/template/lookup_context_test.rb b/actionpack/test/template/lookup_context_test.rb index ef9c5ce10c..96b14a0acd 100644 --- a/actionpack/test/template/lookup_context_test.rb +++ b/actionpack/test/template/lookup_context_test.rb @@ -169,7 +169,7 @@ class LookupContextTest < ActiveSupport::TestCase assert_not_equal template, old_template end - + test "responds to #prefixes" do assert_equal [], @lookup_context.prefixes @lookup_context.prefixes = ["foo"] @@ -180,7 +180,7 @@ end class LookupContextWithFalseCaching < ActiveSupport::TestCase def setup @resolver = ActionView::FixtureResolver.new("test/_foo.erb" => ["Foo", Time.utc(2000)]) - ActionView::Resolver.stubs(:caching?).returns(false) + @resolver.stubs(:caching?).returns(false) @lookup_context = ActionView::LookupContext.new(@resolver, {}) end @@ -247,6 +247,6 @@ class TestMissingTemplate < ActiveSupport::TestCase @lookup_context.view_paths.find("foo", "parent", true, details) end assert_match %r{Missing partial parent/foo with .* Searched in:\n \* "/Path/to/views"\n}, e.message - end - + end + end |