summaryrefslogtreecommitdiffstats
path: root/spec/fln_rules_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-10-21 17:44:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2023-10-21 17:44:17 +0200
commitfc89b01224150bd0e4e32e92494539e890dc90ae (patch)
treea5ffe286559b66c2115fbac86bfe7ba1701d57dc /spec/fln_rules_spec.rb
parent23073ffb11a0a8ea1437933618b98e8d18b2f7b1 (diff)
downloadcolonial-twilight-fc89b01224150bd0e4e32e92494539e890dc90ae.zip
colonial-twilight-fc89b01224150bd0e4e32e92494539e890dc90ae.tar.gz
Forces : #update_control return true if changed
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 385972a..90fc708 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_fln_to_place_in(space)).to eq(1)
+ expect(rules.max_placable_flns(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_fln_to_place_in(space)).to eq(3)
+ expect(rules.max_placable_flns(space)).to eq(3)
end
end