aboutsummaryrefslogtreecommitdiffstats
path: root/spec/board_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/board_spec.rb')
-rw-r--r--spec/board_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/board_spec.rb b/spec/board_spec.rb
index d71a47b..1370c10 100644
--- a/spec/board_spec.rb
+++ b/spec/board_spec.rb
@@ -17,4 +17,13 @@ describe Board do
...
EOF
end
+
+ it 'starts with a grid of dots' do
+ @board.instance_variable_get('@board').must_equal [
+ ['.', '.', '.'],
+ ['.', '.', '.'],
+ ['.', '.', '.']
+ ]
+ end
+ end
end