diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 05:24:35 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 05:24:35 +0000 |
commit | 4b5f1b17fbb83e42a6c377ef5cc2f5996002f76e (patch) | |
tree | a021b7d7ab1d008e756b5aaaf34ec426281681b1 | |
parent | f78d7d428ed445d72b3a919c855bd7f62cf0fcef (diff) | |
download | redmine-4b5f1b17fbb83e42a6c377ef5cc2f5996002f76e.tar.gz redmine-4b5f1b17fbb83e42a6c377ef5cc2f5996002f76e.zip |
code layout clean up test/helpers/application_helper_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18985 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/helpers/application_helper_test.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 77da9b06f..64a571f9f 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -597,8 +597,16 @@ class ApplicationHelperTest < Redmine::HelperTest hg_changeset_link = link_to('hg1|abcd', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :repository_id => 'hg1', :rev => 'abcd'}, :class => 'changeset', :title => '') - source_link = link_to('source:some/file', {:controller => 'repositories', :action => 'entry', :id => 'ecookbook', :repository_id => 10, :path => ['some', 'file']}, :class => 'source') - hg_source_link = link_to('source:hg1|some/file', {:controller => 'repositories', :action => 'entry', :id => 'ecookbook', :repository_id => 'hg1', :path => ['some', 'file']}, :class => 'source') + source_link = link_to('source:some/file', + {:controller => 'repositories', :action => 'entry', + :id => 'ecookbook', :repository_id => 10, + :path => ['some', 'file']}, + :class => 'source') + hg_source_link = link_to('source:hg1|some/file', + {:controller => 'repositories', :action => 'entry', + :id => 'ecookbook', :repository_id => 'hg1', + :path => ['some', 'file']}, + :class => 'source') to_test = { 'r2' => changeset_link, |