fix: fixes postal default-dkim-record

This commit is contained in:
Adam Cooke
2024-03-13 16:54:53 +00:00
parent 8e71dd0232
commit 58dddebeb8
6 changed files with 148 additions and 143 deletions
+1 -1
View File
@@ -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