Skip to content
This repository
Browse code

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
  • Loading branch information...
commit 6da3771346ef45f8295c4ba7c0ce55c8ae91bbc2 1 parent fa4d5f2
Michael Koziarski authored March 01, 2008
2  actionpack/test/template/template_finder_test.rb
@@ -21,7 +21,7 @@ def test_should_cache_file_extension_properly
21 21
     assert_equal ["builder", "erb", "rhtml", "rjs", "rxml", "mab"].sort,
22 22
                  ActionView::TemplateFinder.file_extension_cache[LOAD_PATH_ROOT].values.flatten.uniq.sort
23 23
 
24  
-    assert_equal Dir.glob("#{LOAD_PATH_ROOT}/**/*.{erb,rjs,rjs,builder,rxml,mab}").size,
  24
+    assert_equal Dir.glob("#{LOAD_PATH_ROOT}/**/*.{erb,rjs,rhtml,builder,rxml,mab}").size,
25 25
                  ActionView::TemplateFinder.file_extension_cache[LOAD_PATH_ROOT].keys.size
26 26
   end
27 27
 

0 notes on commit 6da3771

Please sign in to comment.
Something went wrong with that request. Please try again.