diff options
author | Markus Koller <markus-koller@gmx.ch> | 2017-09-28 19:49:42 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-28 19:49:42 +0300 |
commit | e9eae3eb0dd25e4a34c9a4b6bcc7de312dde4489 (patch) | |
tree | d2402a99dd96927ae458f49cbd7de8ad043e297a /spec/factories/user_custom_attributes.rb | |
parent | 93a33556e3e01a83c1af9c21e11ff433b624c40d (diff) |
Support custom attributes on users
Diffstat (limited to 'spec/factories/user_custom_attributes.rb')
-rw-r--r-- | spec/factories/user_custom_attributes.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/user_custom_attributes.rb b/spec/factories/user_custom_attributes.rb new file mode 100644 index 00000000000..278cf290d4f --- /dev/null +++ b/spec/factories/user_custom_attributes.rb @@ -0,0 +1,7 @@ +FactoryGirl.define do + factory :user_custom_attribute do + user + sequence(:key) { |n| "key#{n}" } + sequence(:value) { |n| "value#{n}" } + end +end |