summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2026-03-22 09:48:13 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2026-03-22 09:48:13 +0100
commit3ab565ec96b186eb88c3708917c862c4b9f9965b (patch)
tree74c5a9210e028acefba2647071f0ecc0994e744d /spec
parent8c110fcb70ea0351b4c9faf39608cf4c3780dd54 (diff)
downloadcolonial-twilight-3ab565ec96b186eb88c3708917c862c4b9f9965b.zip
colonial-twilight-3ab565ec96b186eb88c3708917c862c4b9f9965b.tar.gz
mock : add wilaya
Diffstat (limited to 'spec')
-rw-r--r--spec/mock_board.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/mock_board.rb b/spec/mock_board.rb
index b4e8eb2..3d252f7 100644
--- a/spec/mock_board.rb
+++ b/spec/mock_board.rb
@@ -26,6 +26,10 @@ class Sector
@adjacents = data[:adjacents] || []
end
+ def wilaya
+ @data[:wilaya] || false
+ end
+
def resettled?
@data[:resettled] || false
end