From e92cd2091cbb251f0cc27e2aabb7058db40c7f00 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 11 Jan 2011 15:23:22 +0000 Subject: scm: fix assert_equal parameter order in subversion and git unit test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4691 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_subversion_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit/repository_subversion_test.rb') diff --git a/test/unit/repository_subversion_test.rb b/test/unit/repository_subversion_test.rb index c61431b33..46a4ad74a 100644 --- a/test/unit/repository_subversion_test.rb +++ b/test/unit/repository_subversion_test.rb @@ -119,14 +119,14 @@ class RepositorySubversionTest < ActiveSupport::TestCase c = Changeset.new(:repository => @repository, :committed_on => Time.now, :revision => '1', :comments => 'test') assert c.event_title.include?('1:') - assert_equal c.event_url[:rev], '1' + assert_equal '1', c.event_url[:rev] end def test_activities_nine_digit c = Changeset.new(:repository => @repository, :committed_on => Time.now, :revision => '123456789', :comments => 'test') assert c.event_title.include?('123456789:') - assert_equal c.event_url[:rev], '123456789' + assert_equal '123456789', c.event_url[:rev] end else puts "Subversion test repository NOT FOUND. Skipping unit tests !!!" -- cgit v1.2.3