Sha256: 4f162588bea10b4c671d80a28daca0a86b5e11489f76c9ff6f41a93358bddcac

Contents?: true

Size: 263 Bytes

Versions: 24

Compression:

Stored size: 263 Bytes

Contents

FactoryGirl.define do
  factory :profile, :class => Profile do |f|
    f.user_group {UserGroup.first}
    f.required_role {Role.find_by_name('User')}
    f.sequence(:user_number){|n| "user_number_#{n}"}
    f.library {Library.find(2)}
    f.locale "ja"
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
enju_circulation-0.1.0.pre40 spec/factories/profile.rb
enju_circulation-0.1.0.pre39 spec/factories/profile.rb
enju_circulation-0.1.0.pre38 spec/factories/profile.rb
enju_circulation-0.1.0.pre37 spec/factories/profile.rb