spec/port_spec.rb in ruby-nmap-0.9.3 vs spec/port_spec.rb in ruby-nmap-0.10.0

- old
+ new

@@ -28,9 +28,15 @@ it "should parse the reason" do expect(subject.reason).to eq('syn-ack') end end + describe "#reason_ttl" do + it "should parse the reason_ttl attribute" do + expect(subject.reason_ttl).to be_kind_of(Integer) + end + end + describe "#service" do subject { super().service } it "should return a Service object" do expect(subject).to be_kind_of(Service)