mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-06 01:41:08 +00:00
Adding account_secret_fabricator
This commit is contained in:
parent
e82b82d97e
commit
2361eac493
6
spec/fabricators/account_secret_fabricator.rb
Normal file
6
spec/fabricators/account_secret_fabricator.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:account_secret) do
|
||||
account
|
||||
private_key { OpenSSL::PKey::RSA.new(2048).to_pem }
|
||||
end
|
Loading…
Reference in New Issue
Block a user