about summary refs log tree commit diff
path: root/spec/fabricators/account_identity_proof_fabricator.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-20 20:13:22 +0100
committerGitHub <noreply@github.com>2019-03-20 20:13:22 +0100
commitbde9196b70299405ebe9b16500b7a3f65539b2c3 (patch)
tree4bec904a28c70b916d18055f8291f17c2e58e07b /spec/fabricators/account_identity_proof_fabricator.rb
parentb9a998f201913dd1c89ddcb0c4c9e181eb73bfcf (diff)
parent8b5b686f087f99d1a2b54e0760add8180d77fa7e (diff)
Merge pull request #964 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/fabricators/account_identity_proof_fabricator.rb')
-rw-r--r--spec/fabricators/account_identity_proof_fabricator.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/fabricators/account_identity_proof_fabricator.rb b/spec/fabricators/account_identity_proof_fabricator.rb
new file mode 100644
index 000000000..94f40dfd6
--- /dev/null
+++ b/spec/fabricators/account_identity_proof_fabricator.rb
@@ -0,0 +1,8 @@
+Fabricator(:account_identity_proof) do
+  account
+  provider 'keybase'
+  provider_username { sequence(:provider_username) { |i| "#{Faker::Lorem.characters(15)}" } }
+  token { sequence(:token) { |i| "#{i}#{Faker::Crypto.sha1()*2}"[0..65] } }
+  verified false
+  live false
+end