summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_subversion_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-19 08:25:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-19 08:25:25 +0000
commit43200e21220db2aa7a88838a6713d77de1bb3f16 (patch)
tree68aa057f76771d7a13091ba21a21ccbaf65b3574 /test/functional/repositories_subversion_controller_test.rb
parentdf2e0dbcd7215d4e8349fe73c5e3408fc5101c93 (diff)
downloadredmine-43200e21220db2aa7a88838a6713d77de1bb3f16.tar.gz
redmine-43200e21220db2aa7a88838a6713d77de1bb3f16.zip
Adds mime type specific css classes to the SCM browser.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2672 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_subversion_controller_test.rb')
-rw-r--r--test/functional/repositories_subversion_controller_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/repositories_subversion_controller_test.rb b/test/functional/repositories_subversion_controller_test.rb
index c2bb40367..aef8c2ef2 100644
--- a/test/functional/repositories_subversion_controller_test.rb
+++ b/test/functional/repositories_subversion_controller_test.rb
@@ -64,6 +64,7 @@ class RepositoriesSubversionControllerTest < Test::Unit::TestCase
entry = assigns(:entries).detect {|e| e.name == 'helloworld.c'}
assert_equal 'file', entry.kind
assert_equal 'subversion_test/helloworld.c', entry.path
+ assert_tag :a, :content => 'helloworld.c', :attributes => { :class => /text\-x\-c/ }
end
def test_browse_at_given_revision