spec/address_spec.rb in ruby-nmap-0.7.0 vs spec/address_spec.rb in ruby-nmap-0.8.0
- old
+ new
@@ -6,9 +6,9 @@
let(:addr) { '127.0.0.1' }
subject { described_class.new(:ipv4, addr) }
it "should return the address" do
- subject.to_s.should == addr
+ expect(subject.to_s).to eq(addr)
end
end
end