spec/play_game_spec.rb in mastermind-nowsiany-1.0.2 vs spec/play_game_spec.rb in mastermind-nowsiany-1.0.3
- old
+ new
@@ -25,10 +25,10 @@
stdin = StringIO.new("q")
stdout = StringIO.new
interact = Mastermind::Interact.new
game = Mastermind::PlayGame.new(stdin, stdout, interact)
game.run
- expect(stdout.string).to include("(s)1nG1e")
+ expect(stdout.string).to include("(s)ingle")
end
it "should generate the specified number of players" do
stdin = StringIO.new("\nSimon\nAlvin\n")
stdout = StringIO.new