Replace Test::Unit::TestCase with ActiveSupport::TestCase. #5477
Contributed by Alexey Palazhchenko git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3926 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
780bdccc42
commit
bc5d32d6de
|
@ -24,7 +24,7 @@ module RedmineMenuTestHelper
|
|||
end
|
||||
end
|
||||
|
||||
class Redmine::MenuManager::MenuItemTest < Test::Unit::TestCase
|
||||
class Redmine::MenuManager::MenuItemTest < ActiveSupport::TestCase
|
||||
include RedmineMenuTestHelper
|
||||
|
||||
Redmine::MenuManager.map :test_menu do |menu|
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
require File.dirname(__FILE__) + '/../../../test_helper'
|
||||
|
||||
class Redmine::MenuManagerTest < Test::Unit::TestCase
|
||||
class Redmine::MenuManagerTest < ActiveSupport::TestCase
|
||||
context "MenuManager#map" do
|
||||
should "be tested"
|
||||
end
|
||||
|
@ -25,8 +25,4 @@ class Redmine::MenuManagerTest < Test::Unit::TestCase
|
|||
context "MenuManager#items" do
|
||||
should "be tested"
|
||||
end
|
||||
|
||||
should "be tested" do
|
||||
assert true
|
||||
end
|
||||
end
|
||||
|
|
|
@ -33,7 +33,7 @@ module RedmineMenuTestHelper
|
|||
end
|
||||
end
|
||||
|
||||
class RedmineTest < Test::Unit::TestCase
|
||||
class RedmineTest < ActiveSupport::TestCase
|
||||
include RedmineMenuTestHelper
|
||||
|
||||
def test_top_menu
|
||||
|
|
Loading…
Reference in New Issue