summaryrefslogtreecommitdiffstats
path: root/test/unit/helpers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-01-11 15:23:42 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-01-11 15:23:42 +0000
commitfb51f27b8a1533abaf7d84bf86e33cec0d18a8ec (patch)
tree41e1bc90b9f2234a7e567f8bf97d4c94cdd5e977 /test/unit/helpers
parente92cd2091cbb251f0cc27e2aabb7058db40c7f00 (diff)
downloadredmine-fb51f27b8a1533abaf7d84bf86e33cec0d18a8ec.tar.gz
redmine-fb51f27b8a1533abaf7d84bf86e33cec0d18a8ec.zip
scm: fix indents in "commit:xxx" unit test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4692 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers')
-rw-r--r--test/unit/helpers/application_helper_test.rb22
1 files changed, 12 insertions, 10 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb
index 0f638cbd0..5e42762fd 100644
--- a/test/unit/helpers/application_helper_test.rb
+++ b/test/unit/helpers/application_helper_test.rb
@@ -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,