summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_mercurial_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-07 07:25:09 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-07 07:25:09 +0000
commitf157ecb91a808663161016821bed3f697df9df03 (patch)
tree66d7e9579775e328472ab5ee7b4110d57e6ac858 /test/functional/repositories_mercurial_controller_test.rb
parente78bc574c2a6972f9f1bff8a431884bbbd7843d0 (diff)
downloadredmine-f157ecb91a808663161016821bed3f697df9df03.tar.gz
redmine-f157ecb91a808663161016821bed3f697df9df03.zip
scm: mercurial: change Latin-1 path test methods name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5685 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_mercurial_controller_test.rb')
-rw-r--r--test/functional/repositories_mercurial_controller_test.rb20
1 files changed, 11 insertions, 9 deletions
diff --git a/test/functional/repositories_mercurial_controller_test.rb b/test/functional/repositories_mercurial_controller_test.rb
index 4e21e575b..6320dad34 100644
--- a/test/functional/repositories_mercurial_controller_test.rb
+++ b/test/functional/repositories_mercurial_controller_test.rb
@@ -123,7 +123,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
end
end
- def test_show_directory_latin_1
+ def test_show_directory_latin_1_path
@repository.fetch_changesets
@repository.reload
[21, '21', 'adf805632193'].each do |r1|
@@ -199,9 +199,10 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
:sibling => { :tag => 'td', :content => /WITHOUT ANY WARRANTY/ }
end
- def test_entry_show_latin_1
+ def test_entry_show_latin_1_path
[21, '21', 'adf805632193'].each do |r1|
- get :entry, :id => PRJ_ID, :path => ['latin-1-dir', "test-#{@char_1}-2.txt"], :rev => r1
+ get :entry, :id => PRJ_ID,
+ :path => ['latin-1-dir', "test-#{@char_1}-2.txt"], :rev => r1
assert_response :success
assert_template 'entry'
assert_tag :tag => 'th',
@@ -270,16 +271,16 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
end
end
- def test_diff_latin_1
+ def test_diff_latin_1_path
[21, 'adf805632193'].each do |r1|
get :diff, :id => PRJ_ID, :rev => r1
assert_response :success
assert_template 'diff'
assert_tag :tag => 'th',
:content => '2',
- :sibling => { :tag => 'td',
- :attributes => { :class => /diff_in/ },
- :content => /It is written in Python/ }
+ :sibling => {:tag => 'td',
+ :attributes => { :class => /diff_in/ },
+ :content => /It is written in Python/ }
end
end
@@ -323,9 +324,10 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
end
end
- def test_annotate_latin_1
+ def test_annotate_latin_1_path
[21, '21', 'adf805632193'].each do |r1|
- get :annotate, :id => PRJ_ID, :path => ['latin-1-dir', "test-#{@char_1}-2.txt"], :rev => r1
+ get :annotate, :id => PRJ_ID,
+ :path => ['latin-1-dir', "test-#{@char_1}-2.txt"], :rev => r1
assert_response :success
assert_template 'annotate'
assert_tag :tag => 'th',