diff options
Diffstat (limited to 'spec/forces_spec.rb')
-rw-r--r-- | spec/forces_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/forces_spec.rb b/spec/forces_spec.rb index ce6316f..110139e 100644 --- a/spec/forces_spec.rb +++ b/spec/forces_spec.rb @@ -132,6 +132,14 @@ describe ColonialTwilight::Forces do expect { @f.add :wrong, 1 }.to raise_error(Exception) end + it 'activate raise' do + expect { @f.activate(7) }.to raise_error(Exception) + end + + it 'activate' do + expect(@f.activate(6)).to eq 13 + end + it 'data' do d = @f.data @data.keys do |k, v| |