##// END OF EJS Templates
fix typos at unit version test...
Toshi MARUYAMA -
r12786:e8e9c046af2a
parent child
Show More
@@ -93,7 +93,7 class VersionTest < ActiveSupport::TestCase
93 93 assert_progress_equal (100.0)/3, v.closed_percent
94 94 end
95 95
96 def test_progress_should_consider_estimated_hours_to_weigth_issues
96 def test_progress_should_consider_estimated_hours_to_weight_issues
97 97 project = Project.find(1)
98 98 v = Version.create!(:project => project, :name => 'Progress')
99 99 add_issue(v, :estimated_hours => 10)
@@ -104,7 +104,7 class VersionTest < ActiveSupport::TestCase
104 104 assert_progress_equal 25.0/95.0*100, v.closed_percent
105 105 end
106 106
107 def test_progress_should_consider_average_estimated_hours_to_weigth_unestimated_issues
107 def test_progress_should_consider_average_estimated_hours_to_weight_unestimated_issues
108 108 project = Project.find(1)
109 109 v = Version.create!(:project => project, :name => 'Progress')
110 110 add_issue(v, :done_ratio => 20)
General Comments 0
You need to be logged in to leave comments. Login now