spec/invoker/power/port_finder_spec.rb in invoker-1.0.2 vs spec/invoker/power/port_finder_spec.rb in invoker-1.0.3
- old
+ new
@@ -5,12 +5,12 @@
@port_finder = Invoker::Power::PortFinder.new()
@port_finder.find_ports
end
it "should find a http port" do
- @port_finder.http_port.should.not == nil
+ expect(@port_finder.http_port).not_to be_nil
end
it "should find a dns port" do
- @port_finder.dns_port.should.not == nil
+ expect(@port_finder.dns_port).not_to be_nil
end
end