]> source.dussan.org Git - redmine.git/commitdiff
scm: fix indents in "commit:xxx" unit test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 11 Jan 2011 15:23:42 +0000 (15:23 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 11 Jan 2011 15:23:42 +0000 (15:23 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4692 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/helpers/application_helper_test.rb

index 0f638cbd0ef9f5c3aaa757b2772c242fb295aeac..5e42762fd0c341b52c25ac9985a614388f34e3f6 100644 (file)
@@ -227,11 +227,12 @@ RAW
 
   def test_redmine_links_git_commit
     changeset_link = link_to('abcd',
-                                  {
-                                :controller => 'repositories',
-                                :action => 'revision', :id => 'subproject1',
-                                :rev => 'abcd'
-                                  },
+                               {
+                                 :controller => 'repositories',
+                                 :action     => 'revision',
+                                 :id         => 'subproject1',
+                                 :rev        => 'abcd',
+                                },
                               :class => 'changeset', :title => 'test commit')
     to_test = {
       'commit:abcd' => changeset_link,
@@ -251,11 +252,12 @@ RAW
   # TODO: Bazaar commit id contains mail address, so it contains '@' and '_'.
   def test_redmine_links_darcs_commit
     changeset_link = link_to('20080308225258-98289-abcd456efg.gz',
-                                  {
-                                :controller => 'repositories',
-                                :action => 'revision', :id => 'subproject1',
-                                :rev => '123'
-                                  },
+                               {
+                                 :controller => 'repositories',
+                                 :action     => 'revision',
+                                 :id         => 'subproject1',
+                                 :rev        => '123',
+                                },
                               :class => 'changeset', :title => 'test commit')
     to_test = {
       'commit:20080308225258-98289-abcd456efg.gz' => changeset_link,