spec/uptime_spec.rb in ruby-nmap-0.7.0 vs spec/uptime_spec.rb in ruby-nmap-0.8.0
- old
+ new
@@ -7,9 +7,9 @@
let(:last_boot) { Time.parse("2013-07-10 08:34:03 -0700") }
subject { described_class.new(seconds,last_boot) }
it "should convert the uptipe to a String" do
- subject.to_s.should == "uptime: #{seconds} (#{last_boot})"
+ expect(subject.to_s).to eq("uptime: #{seconds} (#{last_boot})")
end
end
end