summaryrefslogtreecommitdiffstats
path: root/spec/fln_bot_rules_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-11-02 18:27:09 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-11-02 18:27:09 +0100
commit6b60dab5bf2c3b195b70596727e4023693b85cb7 (patch)
tree85e779ebc33e4ca512cfbb791ee7bf98c70c1f1a /spec/fln_bot_rules_spec.rb
parente42ecf6768f1b1a39c2357334b4ae2cd49f29b35 (diff)
downloadcolonial-twilight-6b60dab5bf2c3b195b70596727e4023693b85cb7.zip
colonial-twilight-6b60dab5bf2c3b195b70596727e4023693b85cb7.tar.gz
FLNBotRules place_guerrillas -> place_guerrillas_priority
Diffstat (limited to 'spec/fln_bot_rules_spec.rb')
-rw-r--r--spec/fln_bot_rules_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/fln_bot_rules_spec.rb b/spec/fln_bot_rules_spec.rb
index 612e32d..0004d7a 100644
--- a/spec/fln_bot_rules_spec.rb
+++ b/spec/fln_bot_rules_spec.rb
@@ -489,18 +489,18 @@ describe ColonialTwilight::FLNBotRules do
expect(@rules._removable_guerrillas(a)).to eq(2)
end
- it 'place_guerrillas support' do
+ it 'place_guerrillas_priority support' do
a = Sector.new(support: false)
b = Sector.new(support: true)
c = Sector.new(support: false)
- expect(@rules.place_guerrillas([a, b, c])[0]).to be b
+ expect(@rules.place_guerrillas_priority([a, b, c])[0]).to be b
end
- it 'place_guerrillas support and fln_active' do
+ it 'place_guerrillas_priority support and fln_active' do
a = Sector.new(support: false)
b = Sector.new(support: true, fln_active: 1)
c = Sector.new(support: true)
- expect(@rules.place_guerrillas([a, b, c])[0]).to be b
+ expect(@rules.place_guerrillas_priority([a, b, c])[0]).to be b
end
it '_remove_guerrillas_priority none' do