Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions spec/domains_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@
"type": "CNAME",
"ttl": "Auto",
"status": "not_started"
},
{
"record": "TrackingCAA",
"name": "",
"value": "0 issue \"amazon.com\"",
"type": "CAA",
"ttl": "Auto",
"status": "not_started"
}
],
"region": "us-east-1",
Expand All @@ -128,6 +136,10 @@
expect(tracking_record[:type]).to eql("CNAME")
expect(tracking_record[:ttl]).to eql("Auto")
expect(tracking_record[:status]).to eql("not_started")
tracking_caa_record = domain[:records].find { |r| r[:record] == "TrackingCAA" }
Comment thread
drish marked this conversation as resolved.
expect(tracking_caa_record).not_to be_nil
expect(tracking_caa_record[:type]).to eql("CAA")
expect(tracking_caa_record[:value]).to eql("0 issue \"amazon.com\"")
end

it "should raise when domain is already registered" do
Expand Down
Loading