spec/run_stat_spec.rb in ruby-nmap-0.7.0 vs spec/run_stat_spec.rb in ruby-nmap-0.8.0
- old
+ new
@@ -13,9 +13,9 @@
let(:exit_status) { 'success' }
subject { described_class.new(end_time,elapsed,summary,exit_status) }
it "should convert the RunStat to a String" do
- subject.to_s.should == "#{end_time} #{elapsed} #{exit_status}"
+ expect(subject.to_s).to eq("#{end_time} #{elapsed} #{exit_status}")
end
end
end