osem-fcy/spec/factories/openid.rb
ViditChitkara 83053f4626 added email presence validation to openid
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
2017-12-15 23:07:03 +02:00

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