demarches-normaliennes/spec/factories/bill_signature.rb
2019-06-17 16:16:28 +02:00

6 lines
315 B
Ruby

FactoryBot.define do
factory :bill_signature do
serialized { Rack::Test::UploadedFile.new("./spec/fixtures/files/bill_signature/serialized.json", 'application/json') }
signature { Rack::Test::UploadedFile.new("./spec/fixtures/files/bill_signature/signature.der", 'application/x-x509-ca-cert') }
end
end