Sha256: 6a3ec668718236f7ff290f99a4663a7e9adb31fc716197c4a15d5fdc780702fa

Contents?: true

Size: 477 Bytes

Versions: 2

Compression:

Stored size: 477 Bytes

Contents

require "spec_helper"

describe DomainInfo::Domain do
  let (:domain) { DomainInfo::Domain.new("github.com") }

  it "has an IP address" do
    domain.ip.should_not be_nil
  end

  it "has a PTR record" do
    domain.ptr.should_not be_nil
  end

  it "has a SPF record" do
    domain.ptr.should_not be_nil
  end

  it "has a DKIM record" do
    domain.dkim("_key").should_not be_nil
  end

  it "has a default DKIM record" do
    domain.default_dkim.should_not be_nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
domain_info-0.0.2 spec/lib/domain_info/domain_spec.rb
domain_info-0.0.1 spec/lib/domain_info/domain_spec.rb