test: add initial tests for Postal::SMTPServer::Client

This commit is contained in:
Adam Cooke
2024-02-12 18:07:44 +00:00
parent ec636661d5
commit dece1d487a
19 changed files with 780 additions and 44 deletions
+11
View File
@@ -0,0 +1,11 @@
# frozen_string_literal: true
FactoryBot.define do
factory :http_endpoint do
server
name { "HTTP endpoint" }
url { "https://example.com/endpoint" }
encoding { "BodyAsJSON" }
format { "Hash" }
end
end