mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
closes #1658 added test for openid fixed robocup offences written tests for email presence validation minor changes shifted omniauth callback tests to rspec controllers fixed linting bug minor changes minor changes
10 lines
242 B
Ruby
10 lines
242 B
Ruby
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
FactoryGirl.define do
|
|
factory :openid do
|
|
provider { Faker::Internet.domain_word }
|
|
email { Faker::Internet.email }
|
|
uid { SecureRandom.hex }
|
|
user
|
|
end
|
|
end
|