spec/cli_spec.rb in mastermind-nowsiany-1.0.2 vs spec/cli_spec.rb in mastermind-nowsiany-1.0.3
- old
+ new
@@ -22,10 +22,10 @@
stdin = StringIO.new("\nq")
stdout = StringIO.new()
cli = Mastermind::CLI.new(stdin, stdout)
cli.run
expect(stdout.string).to include("0;32;49m")
- expect(stdout.string).to include("MA1N")
+ expect(stdout.string).to include("MAIN")
expect(stdout.string).to include("_/")
end
it "should print instructions when prompted" do
stdin = StringIO.new("i\nq")