aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-04-11 16:37:41 -0400
committerTeddy Wing2015-04-11 16:37:41 -0400
commita08417fe1a150d6a94d8c83ef6dffa9aa409f896 (patch)
treee0a7ce8aa34b7536c419b5cdc0d200239372418b
parent4f027d92648bdd2cc11a06490283540740b8676e (diff)
downloadtic-tac-toe-a08417fe1a150d6a94d8c83ef6dffa9aa409f896.tar.bz2
Create a MiniTest::Unit version of the Board render test
Will be writing both spec and TestUnit versions of the tests.
-rw-r--r--test/board_test.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/board_test.rb b/test/board_test.rb
new file mode 100644
index 0000000..8aeaeab
--- /dev/null
+++ b/test/board_test.rb
@@ -0,0 +1,15 @@
+require 'test_helper'
+
+class TestBoard < Minitest::Unit::TestCase
+ def setup
+ @board = Board.new
+ end
+
+ def test_render
+ assert_equal @board.render, <<EOS
+...
+...
+...
+EOS
+ end
+end