Permalink
Browse files

fix wording, add missing save

  • Loading branch information...
1 parent 5309916 commit da8a1e6a928d865b37b73ea7896c1e5dee42f460 @avalanche123 committed Jun 2, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 app/models/game.rb
  2. +1 −1 features/codebreaker.feature
View
@@ -29,5 +29,6 @@ def finish
else
self.user.games_lost = self.user.games_lost + 1
end
+ self.user.save!
end
end
@@ -1,6 +1,6 @@
Feature: codebreaker
- The code breaker is initialize submits a guess
+ The code breaker is initialized with a code and gets submitted a guess
Each number in the guess that matches the number and position of a number
in the secret code is considered a match

0 comments on commit da8a1e6

Please sign in to comment.