aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-06-21 12:13:13 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-06-21 12:13:13 -0700
commit188cc90af9b29d5520564af7bd7bbcdc647953ca (patch)
tree55b2a83fb9f3963abd16a6467d40a7042f27e4b0 /actionpack/test/template
parente76ced062078e1aeffcb963d28f144fe5e169139 (diff)
downloadrails-188cc90af9b29d5520564af7bd7bbcdc647953ca.tar.gz
rails-188cc90af9b29d5520564af7bd7bbcdc647953ca.tar.bz2
rails-188cc90af9b29d5520564af7bd7bbcdc647953ca.zip
stop subclassing string
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/testing/null_resolver_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/testing/null_resolver_test.rb b/actionpack/test/template/testing/null_resolver_test.rb
index 535ad3ab14..55ec36e753 100644
--- a/actionpack/test/template/testing/null_resolver_test.rb
+++ b/actionpack/test/template/testing/null_resolver_test.rb
@@ -6,7 +6,7 @@ class NullResolverTest < ActiveSupport::TestCase
templates = resolver.find_all("path.erb", "arbitrary", false, {:locale => [], :formats => [:html], :handlers => []})
assert_equal 1, templates.size, "expected one template"
assert_equal "Template generated by Null Resolver", templates.first.source
- assert_equal "arbitrary/path.erb", templates.first.virtual_path
+ assert_equal "arbitrary/path.erb", templates.first.virtual_path.to_s
assert_equal [:html], templates.first.formats
end
end