spec/scanner_spec.rb in ruby-nmap-0.7.0 vs spec/scanner_spec.rb in ruby-nmap-0.8.0
- old
+ new
@@ -16,9 +16,9 @@
start_time
)
end
it "should return the scanner command" do
- subject.to_s.should == "#{name} #{args}"
+ expect(subject.to_s).to eq("#{name} #{args}")
end
end
end