summaryrefslogtreecommitdiffstats
path: root/spec/mock_board.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mock_board.rb')
-rw-r--r--spec/mock_board.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/mock_board.rb b/spec/mock_board.rb
index 34c5272..e03be2b 100644
--- a/spec/mock_board.rb
+++ b/spec/mock_board.rb
@@ -30,7 +30,11 @@ class Sector
end
def support?
- @data[:support]
+ @data[:support] || false
+ end
+
+ def oppose?
+ @data[:oppose] || false
end
def terror