search for: test_gam

Displaying 1 result from an estimated 1 matches for "test_gam".

Did you mean: test_game
2006 Jul 29
2
comments on my first context
...ake the first spec work) Thanks! Dominique ---------------------------------------------------------- # Inspired by: # http://www.xprogramming.com/xpmag/OkSudoku.htm # http://rspec.rubyforge.org/ require ''Game'' context "An Empty Board" do setup do @game = Game.test_game end specify "should have 81 cells" do @game.should.have(81).cells end specify "should have 0..80 in the cells" do (0..80).each do | i | @game.cell(i).should.equal i end end specify "check values in row 3" do @game.row(3).should.equ...