Mercurial > hg > soundsoftware-site
diff test/functional/repositories_mercurial_controller_test.rb @ 245:051f544170fe
* Update to SVN trunk revision 4993
author | Chris Cannam |
---|---|
date | Thu, 03 Mar 2011 11:42:28 +0000 |
parents | 0579821a129a |
children | eeebe205a056 cbce1fd3b1b7 |
line wrap: on
line diff
--- a/test/functional/repositories_mercurial_controller_test.rb Thu Mar 03 11:40:10 2011 +0000 +++ b/test/functional/repositories_mercurial_controller_test.rb Thu Mar 03 11:42:28 2011 +0000 @@ -34,6 +34,7 @@ User.current = nil @repository = Repository::Mercurial.create(:project => Project.find(3), :url => REPOSITORY_PATH) assert @repository + @diff_c_support = true end if File.directory?(REPOSITORY_PATH) @@ -137,7 +138,7 @@ assert_response :success assert_template 'diff' - if @repository.scm.class.client_version_above?([1, 2]) + if @diff_c_support # Line 22 removed assert_tag :tag => 'th', :content => '22',