aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-05-21 11:29:25 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-05-21 11:29:25 -0700
commit254c04286c5916ae7f91eb6e173b312e7a74e364 (patch)
treec1321e2d5d84977ae0a0b84a6a1ba8337d2512e3 /actionpack/test
parent513a0525c24c2944630acfa465b22cd2f4601adf (diff)
parent719b008f1dae30c5fb6d09a371ae8d949c867a0c (diff)
downloadrails-254c04286c5916ae7f91eb6e173b312e7a74e364.tar.gz
rails-254c04286c5916ae7f91eb6e173b312e7a74e364.tar.bz2
rails-254c04286c5916ae7f91eb6e173b312e7a74e364.zip
Merge pull request #6425 from pinetops/resolver_concurrency_fix
Resolver concurrency fix
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/template/lookup_context_test.rb8
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 96b14a0acd..ef9c5ce10c 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)])
- @resolver.stubs(:caching?).returns(false)
+ ActionView::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