summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_git_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-28 18:11:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-28 18:11:03 +0000
commit65524cc1cc638bc9a5e01721425c55ab1a572e90 (patch)
treeb6997d2aef61f45e29b5beaa80d50202b809d563 /test/functional/repositories_git_controller_test.rb
parent138f6736b2e932872afb6af83940aed8c15ecebc (diff)
downloadredmine-65524cc1cc638bc9a5e01721425c55ab1a572e90.tar.gz
redmine-65524cc1cc638bc9a5e01721425c55ab1a572e90.zip
Don't repeat revision on annotate view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10105 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/repositories_git_controller_test.rb')
-rw-r--r--test/functional/repositories_git_controller_test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb
index 35f65419e..786238493 100644
--- a/test/functional/repositories_git_controller_test.rb
+++ b/test/functional/repositories_git_controller_test.rb
@@ -383,8 +383,8 @@ class RepositoriesGitControllerTest < ActionController::TestCase
:path => repository_path_hash(['sources', 'watchers_controller.rb'])[:param]
assert_response :success
assert_template 'annotate'
- # Line 24, changeset 2f9c0091
- assert_tag :tag => 'th', :content => '24',
+ # Line 23, changeset 2f9c0091
+ assert_tag :tag => 'th', :content => '23',
:sibling => {
:tag => 'td',
:child => {
@@ -392,9 +392,9 @@ class RepositoriesGitControllerTest < ActionController::TestCase
:content => /2f9c0091/
}
}
- assert_tag :tag => 'th', :content => '24',
+ assert_tag :tag => 'th', :content => '23',
:sibling => { :tag => 'td', :content => /jsmith/ }
- assert_tag :tag => 'th', :content => '24',
+ assert_tag :tag => 'th', :content => '23',
:sibling => {
:tag => 'td',
:child => {
@@ -402,8 +402,8 @@ class RepositoriesGitControllerTest < ActionController::TestCase
:content => /2f9c0091/
}
}
- assert_tag :tag => 'th', :content => '24',
- :sibling => { :tag => 'td', :content => /watcher =/ }
+ assert_tag :tag => 'th', :content => '23',
+ :sibling => { :tag => 'td', :content => /remove_watcher/ }
end
def test_annotate_at_given_revision