mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 10:17:22 +00:00
fix: fixes postal default-dkim-record
This commit is contained in:
@@ -5,7 +5,7 @@ require "rails_helper"
|
||||
RSpec.describe Postal do
|
||||
describe "#signer" do
|
||||
it "returns a signer with the installation's signing key" do
|
||||
expect(Postal.signer).to be_a(Signer)
|
||||
expect(Postal.signer).to be_a(Postal::Signer)
|
||||
expect(Postal.signer.private_key.to_pem).to eq OpenSSL::PKey::RSA.new(File.read(Postal::Config.postal.signing_key_path)).to_pem
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user