demarches-normaliennes/spec/factories/bill_signature.rb

7 lines
315 B
Ruby
Raw Normal View History

2019-06-17 11:01:41 +02:00
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