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

- old
+ new

@@ -3,11 +3,12 @@ describe Status do describe "#to_s" do let(:state) { :up } let(:reason) { 'syn-ack' } + let(:reason_ttl) { 100 } - subject { described_class.new(state,reason) } + 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