diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-01-15 10:15:41 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-01-15 10:15:41 +0000 |
commit | 2b24b6c9bb40df75a34bd31258f49eca4ef5d448 (patch) | |
tree | 68ccca33198e743c834ebc6984961fc8887d5ec6 | |
parent | effc33fe5b4f655c587fe70b3caea3abbeef78f7 (diff) | |
download | redmine-2b24b6c9bb40df75a34bd31258f49eca4ef5d448.tar.gz redmine-2b24b6c9bb40df75a34bd31258f49eca4ef5d448.zip |
scm: mercurial: fix revision at functional diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4718 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/repositories_mercurial_controller_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/repositories_mercurial_controller_test.rb b/test/functional/repositories_mercurial_controller_test.rb index 85203380a..d48c7909e 100644 --- a/test/functional/repositories_mercurial_controller_test.rb +++ b/test/functional/repositories_mercurial_controller_test.rb @@ -44,7 +44,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase assert_not_nil assigns(:entries) assert_not_nil assigns(:changesets) end - + def test_show_root get :show, :id => 3 assert_response :success @@ -55,7 +55,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase assert assigns(:entries).detect {|e| e.name == 'sources' && e.kind == 'dir'} assert assigns(:entries).detect {|e| e.name == 'README' && e.kind == 'file'} end - + def test_show_directory get :show, :id => 3, :path => ['images'] assert_response :success @@ -133,7 +133,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase [4, '4', 'def6d2f1254a'].each do |r1| # Full diff of changeset 4 - get :diff, :id => 3, :rev => 4 + get :diff, :id => 3, :rev => r1 assert_response :success assert_template 'diff' |