Sha256: 386fee0a291f5456e0f882545bb7d80f50d013d13da1cc22e841814e23819038
Contents?: true
Size: 293 Bytes
Versions: 5
Compression:
Stored size: 293 Bytes
Contents
require 'spec_helper' require 'nmap/status' describe Status do describe "#to_s" do let(:state) { :up } let(:reason) { 'syn-ack' } subject { described_class.new(state,reason) } it "should return the state" do expect(subject.to_s).to eq(state.to_s) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ruby-nmap-0.9.3 | spec/status_spec.rb |
ruby-nmap-0.9.2 | spec/status_spec.rb |
ruby-nmap-0.9.1 | spec/status_spec.rb |
ruby-nmap-0.9.0 | spec/status_spec.rb |
ruby-nmap-0.8.0 | spec/status_spec.rb |