spec/os_match_spec.rb in ruby-nmap-0.7.0 vs spec/os_match_spec.rb in ruby-nmap-0.8.0
- old
+ new
@@ -7,9 +7,9 @@
let(:accuracy) { 97 }
subject { described_class.new(name,accuracy) }
it "should include the name and accuracy" do
- subject.to_s.should == "#{name} (#{accuracy}%)"
+ expect(subject.to_s).to eq("#{name} (#{accuracy}%)")
end
end
end