spec/status_spec.rb in ruby-nmap-0.7.0 vs spec/status_spec.rb in ruby-nmap-0.8.0

- old
+ new

@@ -7,9 +7,9 @@ let(:reason) { 'syn-ack' } subject { described_class.new(state,reason) } it "should return the state" do - subject.to_s.should == state.to_s + expect(subject.to_s).to eq(state.to_s) end end end