Sha256: 0985a741d518dfd3cb5ce296f5e960a2396c32d8219c0c9f70362b92e842c777
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 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 subject.to_s.should == state.to_s end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-nmap-0.7.0 | spec/status_spec.rb |