Sha256: 4f9df828b1703d673534fdb7af6be4ece55967bf0e3ae29aa29d5872c0a8848e

Contents?: true

Size: 348 Bytes

Versions: 1

Compression:

Stored size: 348 Bytes

Contents

require "pac/test_helper"

describe PAC::Functions do
  describe "isResolvable()" do
    it "should return true for localhost" do
      PAC::Functions.isResolvable("localhost").must_equal true
    end

    it "should return false for awidhaowuhuiuhiuug" do
      PAC::Functions.isResolvable("awidhaowuhuiuhiuug").must_equal false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pac-1.0.0 test/pac/functions_test.rb