test-unit.patch

Alexey Palazhchenko, 2010-05-08 21:37

Download (1.77 KB)

View differences:

test/unit/lib/redmine/menu_manager/menu_item_test.rb
24 24
  end
25 25
end
26 26

  
27
class Redmine::MenuManager::MenuItemTest < Test::Unit::TestCase
27
class Redmine::MenuManager::MenuItemTest < ActiveSupport::TestCase
28 28
  include RedmineMenuTestHelper
29 29

  
30 30
  Redmine::MenuManager.map :test_menu do |menu|
test/unit/lib/redmine/menu_manager_test.rb
17 17

  
18 18
require File.dirname(__FILE__) + '/../../../test_helper'
19 19

  
20
class Redmine::MenuManagerTest < Test::Unit::TestCase
20
class Redmine::MenuManagerTest < ActiveSupport::TestCase
21 21
  context "MenuManager#map" do
22 22
    should "be tested"
23 23
  end
......
25 25
  context "MenuManager#items" do
26 26
    should "be tested"
27 27
  end
28

  
29
  should "be tested" do
30
    assert true
31
  end
32 28
end
test/unit/lib/redmine_test.rb
33 33
  end
34 34
end
35 35

  
36
class RedmineTest < Test::Unit::TestCase
36
class RedmineTest < ActiveSupport::TestCase
37 37
  include RedmineMenuTestHelper
38 38

  
39 39
  def test_top_menu