From 31590e307a39520c6bb81879a8c7b919e65a98ae Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 21 Mar 2013 22:54:48 +0000 Subject: [PATCH] fix test failure (#13405)
  1) Failure:
test_scan_changesets_for_issue_ids(RepositoryTest) [/xxx/test/unit/repository_test.rb:214]:
<"Applied in changeset r2."> expected but was
<"Applied in changeset commit:691322a8eb01e11fd7.">.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11672 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/fixtures/changesets.yml | 4 ++-- test/unit/helpers/application_helper_test.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/fixtures/changesets.yml b/test/fixtures/changesets.yml index e6b26fc9e..8edefcc09 100644 --- a/test/fixtures/changesets.yml +++ b/test/fixtures/changesets.yml @@ -3,8 +3,9 @@ changesets_001: commit_date: 2007-04-11 committed_on: 2007-04-11 15:14:44 +02:00 revision: 1 + scmid: 691322a8eb01e11fd7 id: 100 - comments: My very first commit + comments: 'do not escaping #<>&' repository_id: 10 committer: dlopper user_id: 3 @@ -13,7 +14,6 @@ changesets_002: committed_on: 2007-04-12 15:14:44 +02:00 revision: 2 id: 101 - scmid: 691322a8eb01e11fd7 comments: 'This commit fixes #1, #2 and references #1 & #3' repository_id: 10 committer: dlopper diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 5635c290b..2294b5e87 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -265,12 +265,12 @@ RAW :class => Issue.find(3).css_classes, :title => 'Error 281 when updating a recipe (New)') revision_link = link_to('r1', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :rev => 1}, - :class => 'changeset', :title => 'My very first commit') + :class => 'changeset', :title => 'do not escaping #<>&') revision_link2 = link_to('r2', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :rev => 2}, :class => 'changeset', :title => 'This commit fixes #1, #2 and references #1 & #3') - changeset_link2 = link_to('691322a8eb01e11fd7', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :rev => 2}, - :class => 'changeset', :title => 'This commit fixes #1, #2 and references #1 & #3') + changeset_link2 = link_to('691322a8eb01e11fd7', {:controller => 'repositories', :action => 'revision', :id => 'ecookbook', :rev => 1}, + :class => 'changeset', :title => 'do not escaping #<>&') document_link = link_to('Test document', {:controller => 'documents', :action => 'show', :id => 1}, :class => 'document') -- 2.39.5