fix wrong grade calculator comment
Change-Id: I45709bd6dc2fd91bc8d178a38eaab6e088100445 Reviewed-on: https://gerrit.instructure.com/29011 Tested-by: Jenkins <jenkins@instructure.com> Product-Review: Simon Williams <simon@instructure.com> Reviewed-by: Simon Williams <simon@instructure.com> QA-Review: Simon Williams <simon@instructure.com>
This commit is contained in:
parent
c26f830416
commit
1662f446f6
|
@ -93,7 +93,7 @@ class GradeCalculator
|
|||
# :id => 1
|
||||
# :score => 5,
|
||||
# :possible => 7,
|
||||
# :grade => 0.71
|
||||
# :grade => 71.42,
|
||||
# :weight => 50},
|
||||
# ...]
|
||||
# each group
|
||||
|
|
|
@ -759,10 +759,10 @@ describe Course, "gradebook_to_csv" do
|
|||
"Some Assignment Group 2 Current Score",
|
||||
"Some Assignment Group 2 Final Score"]
|
||||
|
||||
rows[2][-10].should == "100" # ag1 current score
|
||||
rows[2][-10].should == "100" # ag1 current score
|
||||
rows[2][-9].should == "50" # ag1 final score
|
||||
rows[2][-6].should == "50" # ag2 current score
|
||||
rows[2][-5].should == "25" # ag2 final score
|
||||
rows[2][-5].should == "25" # ag2 final score
|
||||
end
|
||||
|
||||
it "should alphabetize by sortable name with the test student at the end" do
|
||||
|
|
Loading…
Reference in New Issue