summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-11-08 22:14:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-11-08 22:14:00 +0100
commit44e9358965f31a6453fcb1cbaca6bcbb4756ba16 (patch)
treef8f786342936f5fb2d2824f791343777405c7f27 /spec
parent23781f394d16c84d761a1b9fa3ad1e65576a2a82 (diff)
downloadcolonial-twilight-44e9358965f31a6453fcb1cbaca6bcbb4756ba16.zip
colonial-twilight-44e9358965f31a6453fcb1cbaca6bcbb4756ba16.tar.gz
Spaces: fix #shift_terror
Diffstat (limited to 'spec')
-rw-r--r--spec/spaces_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spaces_spec.rb b/spec/spaces_spec.rb
index 0c7e6bc..d7af8e5 100644
--- a/spec/spaces_spec.rb
+++ b/spec/spaces_spec.rb
@@ -80,7 +80,7 @@ describe ColonialTwilight::Sector do
it 'terror' do
expect(@s.terror?).to be false
expect(@s.terror).to eq 0
- @s.shift_terror 2
+ expect(@s.shift_terror(2)).to eq 2
expect(@s.terror?).to be true
expect(@s.terror).to eq 2
expect { @t.shift_terrort(-3) }.to raise_error(Exception)