]> source.dussan.org Git - redmine.git/commitdiff
scm: use ActionView::TestCase instead of HelperTestCase at repository_helper_test.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 22 Jun 2011 00:57:17 +0000 (00:57 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 22 Jun 2011 00:57:17 +0000 (00:57 +0000)
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6107 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/helpers/repository_helper_test.rb

index 4130d46575a7a7234501a17fdc3eb0a1119f913f..c4297c5e9424194da492305dc8fdebf8f2722769 100644 (file)
@@ -5,19 +5,19 @@
 # modify it under the terms of the GNU General Public License
 # as published by the Free Software Foundation; either version 2
 # of the License, or (at your option) any later version.
-# 
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 require File.expand_path('../../../test_helper', __FILE__)
 
-class RepositoryHelperTest < HelperTestCase
+class RepositoryHelperTest < ActionView::TestCase
   include RepositoriesHelper
 
   def test_from_latin1_to_utf8