]> source.dussan.org Git - redmine.git/commitdiff
scm: subversion: code clean up test_browse_directory at functional test
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 12 Sep 2011 12:07:15 +0000 (12:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 12 Sep 2011 12:07:15 +0000 (12:07 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7184 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/repositories_subversion_controller_test.rb

index 2dc7bd4e6501ac8f18a431d0b19775e4df136f9d..6d0fc5a98d8e480e9b44156e7255912e1409f6cc 100644 (file)
@@ -73,8 +73,11 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
       assert_response :success
       assert_template 'show'
       assert_not_nil assigns(:entries)
-      assert_equal ['[folder_with_brackets]', 'folder', '.project', 'helloworld.c', 'textfile.txt'],
-                   assigns(:entries).collect(&:name)
+      assert_equal [
+           '[folder_with_brackets]', 'folder', '.project',
+           'helloworld.c', 'textfile.txt'
+         ],
+        assigns(:entries).collect(&:name)
       entry = assigns(:entries).detect {|e| e.name == 'helloworld.c'}
       assert_equal 'file', entry.kind
       assert_equal 'subversion_test/helloworld.c', entry.path