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.2.3 spec/factories/profile.rb
enju_circulation-0.2.2 spec/factories/profile.rb
enju_circulation-0.2.1 spec/factories/profile.rb
enju_circulation-0.2.0 spec/factories/profile.rb
enju_circulation-0.2.0.beta.4 spec/factories/profile.rb
enju_circulation-0.2.0.beta.3 spec/factories/profile.rb
enju_circulation-0.2.0.beta.2 spec/factories/profile.rb
enju_circulation-0.2.0.beta.1 spec/factories/profile.rb
enju_circulation-0.1.2 spec/factories/profile.rb
enju_circulation-0.1.1 spec/factories/profile.rb
enju_circulation-0.1.0 spec/factories/profile.rb
enju_circulation-0.1.0.pre49 spec/factories/profile.rb
enju_circulation-0.1.0.pre48 spec/factories/profile.rb
enju_circulation-0.1.0.pre47 spec/factories/profile.rb
enju_circulation-0.1.0.pre46 spec/factories/profile.rb
enju_circulation-0.1.0.pre45 spec/factories/profile.rb
enju_circulation-0.1.0.pre44 spec/factories/profile.rb
enju_circulation-0.1.0.pre43 spec/factories/profile.rb
enju_circulation-0.1.0.pre42 spec/factories/profile.rb
enju_circulation-0.1.0.pre41 spec/factories/profile.rb