Sha256: a9dd65b2ea17b22ed5f5ca54eef73fa9b679449539468a0afdefe8f7a7ed3d21

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

require_relative "../test-util"

describe "Pione::Util::IPAddress" do
  it "should get my IP address" do
    address = Util::IPAddress.myself
    address.should.kind_of(String)
    address.size.should > 0
  end

  it "should find IP addresses" do
    addresses = Util::IPAddress.find
    addresses.should.kind_of(Array)
    addresses.size.should > 0
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pione-0.2.2 test/util/spec_ip-address.rb
pione-0.2.1 test/util/spec_ip-address.rb
pione-0.2.0 test/util/spec_ip-address.rb