diff options
Diffstat (limited to 'spec/spaces_spec.rb')
-rw-r--r-- | spec/spaces_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spaces_spec.rb b/spec/spaces_spec.rb index e1d75ca..0e05707 100644 --- a/spec/spaces_spec.rb +++ b/spec/spaces_spec.rb @@ -136,6 +136,12 @@ describe ColonialTwilight::Sector do expect(@s.resettled?).to be true expect(@s.pop).to eq 0 end + + it 'activate' do + @s.add :fln_active, 1 + @s.add :fln_underground, 2 + expect(@s.activate(2)).to eq 3 + end end describe ColonialTwilight::City do |