Sha256: ace6d380e5554e14b87f87c5d2af99e004c75eebdc9a47a749b838a7ad3e12ba

Contents?: true

Size: 270 Bytes

Versions: 3

Compression:

Stored size: 270 Bytes

Contents

FactoryGirl.define do
  factory :group, :class => Models::Group do
    sequence(:name)         {|n| "Group ##{n}" }
    sequence(:description)  {|n| "Description ##{n}" }
    sequence(:application_id)
    sequence(:created_by)
    invitation_required     true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
restpack_group_service-0.0.7 spec/factories/group_factory.rb
restpack_group_service-0.0.6 spec/factories/group_factory.rb
restpack_group_service-0.0.5 spec/factories/group_factory.rb