<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -153,7 +153,7 @@ module RubyWarrior
     end
     
     def final_report
-      if profile.calculate_average_grade
+      if profile.calculate_average_grade &amp;&amp; !Config.practice_level
         report = &quot;&quot;
         report &lt;&lt; &quot;Your average grade for this tower is: #{Level.grade_letter(profile.calculate_average_grade)}\n\n&quot;
         profile.current_epic_grades.keys.sort.each do |level|</diff>
      <filename>lib/ruby_warrior/game.rb</filename>
    </modified>
    <modified>
      <diff>@@ -109,4 +109,11 @@ describe RubyWarrior::Game do
     @game.final_report.should be_nil
   end
   
+  it &quot;should have an empty final report if practice level&quot; do
+    RubyWarrior::Config.practice_level = 2
+    profile = RubyWarrior::Profile.new
+    profile.current_epic_grades = { 1 =&gt; 0.7, 2 =&gt; 0.9 }
+    @game.stubs(:profile).returns(profile)
+    @game.final_report.should be_nil
+  end
 end</diff>
      <filename>spec/ruby_warrior/game_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>be64c30d8b8ea1482d23fbc5df272e26eb415b76</id>
    </parent>
  </parents>
  <author>
    <name>Ryan Bates</name>
    <email>ryan@railscasts.com</email>
  </author>
  <url>http://github.com/ryanb/ruby-warrior/commit/1d39e0ee2af3e47311eb5a7452cf3fe5bb3f3c3c</url>
  <id>1d39e0ee2af3e47311eb5a7452cf3fe5bb3f3c3c</id>
  <committed-date>2009-11-04T21:04:15-08:00</committed-date>
  <authored-date>2009-11-04T21:04:15-08:00</authored-date>
  <message>disabling final report when in practice mode</message>
  <tree>5343db3a2118d10d6d60d64c977467bfde861b1b</tree>
  <committer>
    <name>Ryan Bates</name>
    <email>ryan@railscasts.com</email>
  </committer>
</commit>
