diff options
author | Stan Hu <stanhu@gmail.com> | 2016-04-13 08:39:18 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-04-14 17:24:58 +0300 |
commit | c7e384aab23301ad0ee3559252324fa957d15db3 (patch) | |
tree | d78a59ec9a9da680dcc93508c92a09885069dd7c /spec/factories/users.rb | |
parent | 0c082d5e3a34d787f8b2fea0c22fa4256cf82be3 (diff) |
Add spec for deletion of authorized OAuth2 application
Closes #14370
Move gon function into its own helper
Diffstat (limited to 'spec/factories/users.rb')
-rw-r--r-- | spec/factories/users.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/users.rb b/spec/factories/users.rb index a5c60c51c5b..a9b2148bd2a 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -1,7 +1,7 @@ FactoryGirl.define do sequence(:name) { FFaker::Name.name } - factory :user, aliases: [:author, :assignee, :recipient, :owner, :creator] do + factory :user, aliases: [:author, :assignee, :recipient, :owner, :creator, :resource_owner] do email { FFaker::Internet.email } name sequence(:username) { |n| "#{FFaker::Internet.user_name}#{n}" } |