summaryrefslogtreecommitdiffstats
path: root/spec/fln_rules_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-10-22 18:19:29 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2023-10-22 18:19:29 +0200
commit52e7a831cbff3ac1b9940e7f8a207db95f67d564 (patch)
tree7fadce98bcd3b7373d21d696d66cfd4d63553143 /spec/fln_rules_spec.rb
parent211d6c0666ce58aa0330091e9eb076d3f231b57a (diff)
downloadcolonial-twilight-52e7a831cbff3ac1b9940e7f8a207db95f67d564.zip
colonial-twilight-52e7a831cbff3ac1b9940e7f8a207db95f67d564.tar.gz
fln_cubes -> guerrillas and fix #max_placable_flns
Diffstat (limited to 'spec/fln_rules_spec.rb')
-rw-r--r--spec/fln_rules_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/fln_rules_spec.rb b/spec/fln_rules_spec.rb
index 90fc708..9a8c39c 100644
--- a/spec/fln_rules_spec.rb
+++ b/spec/fln_rules_spec.rb
@@ -28,14 +28,14 @@ describe ColonialTwilight::FLNRules do
it 'may place 1 FLN cube' do
@board.load :short
space = @board.by_name('Mostaganem')
- expect(rules.max_placable_flns(space)).to eq(1)
+ expect(rules.max_placable_guerrillas(space)).to eq(1)
end
it 'may place 2 FLN cube' do
@board.load :short
space = @board.by_name('Orleansville')
space.add :fln_base
- expect(rules.max_placable_flns(space)).to eq(3)
+ expect(rules.max_placable_guerrillas(space)).to eq(4)
end
end