aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-03-01 00:01:28 +0000
committerMichael Koziarski <michael@koziarski.com>2008-03-01 00:01:28 +0000
commit6da3771346ef45f8295c4ba7c0ce55c8ae91bbc2 (patch)
tree44b15cd83046bb7bac1b08787d96eff802a47baa /actionpack
parentfa4d5f2dc1e63df9ce289aedea844fe69327241b (diff)
downloadrails-6da3771346ef45f8295c4ba7c0ce55c8ae91bbc2.tar.gz
rails-6da3771346ef45f8295c4ba7c0ce55c8ae91bbc2.tar.bz2
rails-6da3771346ef45f8295c4ba7c0ce55c8ae91bbc2.zip
Fix regexp to contain only one rjs, and add rhtml [lifofifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/template/template_finder_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/template_finder_test.rb b/actionpack/test/template/template_finder_test.rb
index c1da5be0f4..6cd6957a0b 100644
--- a/actionpack/test/template/template_finder_test.rb
+++ b/actionpack/test/template/template_finder_test.rb
@@ -21,7 +21,7 @@ class TemplateFinderTest < Test::Unit::TestCase
assert_equal ["builder", "erb", "rhtml", "rjs", "rxml", "mab"].sort,
ActionView::TemplateFinder.file_extension_cache[LOAD_PATH_ROOT].values.flatten.uniq.sort
- assert_equal Dir.glob("#{LOAD_PATH_ROOT}/**/*.{erb,rjs,rjs,builder,rxml,mab}").size,
+ assert_equal Dir.glob("#{LOAD_PATH_ROOT}/**/*.{erb,rjs,rhtml,builder,rxml,mab}").size,
ActionView::TemplateFinder.file_extension_cache[LOAD_PATH_ROOT].keys.size
end