summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-10-09 09:48:24 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2023-10-09 09:48:24 +0200
commit23073ffb11a0a8ea1437933618b98e8d18b2f7b1 (patch)
treefd34b06b7b2045f2aab01defefff65014f7ec62e /spec
parent853ab7db1c4bcb1a8f95b400435c24a5e8bcf6c7 (diff)
downloadcolonial-twilight-23073ffb11a0a8ea1437933618b98e8d18b2f7b1.zip
colonial-twilight-23073ffb11a0a8ea1437933618b98e8d18b2f7b1.tar.gz
fix FLNRules#max_fln_to_place_in
Diffstat (limited to 'spec')
-rw-r--r--spec/fln_rules_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/fln_rules_spec.rb b/spec/fln_rules_spec.rb
index d266cb4..385972a 100644
--- a/spec/fln_rules_spec.rb
+++ b/spec/fln_rules_spec.rb
@@ -34,7 +34,8 @@ describe ColonialTwilight::FLNRules do
it 'may place 2 FLN cube' do
@board.load :short
space = @board.by_name('Orleansville')
- expect(rules.max_fln_to_place_in(space)).to eq(2)
+ space.add :fln_base
+ expect(rules.max_fln_to_place_in(space)).to eq(3)
end
end