Sha256: 552346ba1a339f4b43846422e2011137c7ae62e12670abf2073373569e118b88

Contents?: true

Size: 320 Bytes

Versions: 3

Compression:

Stored size: 320 Bytes

Contents

require "spec_helper"

describe "PortFinder" do
  before do
    @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
  end

  it "should find a dns port" do
    @port_finder.dns_port.should.not == nil
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
invoker-1.0.2 spec/invoker/power/port_finder_spec.rb
invoker-1.0.1 spec/invoker/power/port_finder_spec.rb
invoker-1.0.0 spec/invoker/power/port_finder_spec.rb