Sha256: 3445a0079d7f9f84296abb4045efa6bf7634c22922289983d33ae6767f25da1c
Contents?: true
Size: 333 Bytes
Versions: 1
Compression:
Stored size: 333 Bytes
Contents
require 'spec_helper' require 'nmap/status' describe 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-nmap-0.10.0 | spec/status_spec.rb |