Sha256: 3b6eeb7b0aa6dee7585ae083fd75f28ec45853e59982420a688d5f2af517fe29
Contents?: true
Size: 562 Bytes
Versions: 7
Compression:
Stored size: 562 Bytes
Contents
FactoryGirl.define do factory :pi_pt, :class => UserProfile do lang 'pt' after :create do |p| p.user User.where( :username => 'piousbox' ).first end end factory :pi_en, :class => UserProfile do lang 'en' education 'pi_en Education' after :create do |p| p.user User.where( :username => 'piousbox' ).first end end factory :pi_ru, :class => UserProfile do lang 'ru' after :create do |p| p.user User.where( :username => 'piousbox' ).first end end end
Version data entries
7 entries across 7 versions & 3 rubygems