Sha256: 01b63b68014f5efd80892b2881e025007aa72a952adce95eef92d3c2e6a355c3
Contents?: true
Size: 348 Bytes
Versions: 4
Compression:
Stored size: 348 Bytes
Contents
require 'spec_helper' require 'nmap/xml/status' describe Nmap::XML::Status do describe "#to_s" do let(:state) { :up } let(:reason) { 'syn-ack' } let(:reason_ttl) { 100 } subject { described_class.new(state,reason,reason_ttl) } it "should return the state" do expect(subject.to_s).to eq(state.to_s) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-nmap-1.0.3 | spec/xml/status_spec.rb |
ruby-nmap-1.0.2 | spec/xml/status_spec.rb |
ruby-nmap-1.0.1 | spec/xml/status_spec.rb |
ruby-nmap-1.0.0 | spec/xml/status_spec.rb |