blob: 4adff3b5eea1f1d128ba7bef1c7d289a879934a3 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../spec_helper'
describe "SignalException#signm" do
it "returns the signal name" do
-> { Process.kill(:TERM, Process.pid) }.should raise_error(SignalException) { |e|
e.signm.should == 'SIGTERM'
}
end
end
|