Sha256: c26cf56f16c2254b43dfad1d6150524ce5d693422a63d5d0b315b8cf1a7fabd5

Contents?: true

Size: 171 Bytes

Versions: 2

Compression:

Stored size: 171 Bytes

Contents

FactoryGirl.define do
  factory :group, class: Ddr::Auth::Group do
    sequence(:name) { |n| "Group#{n}" }

    initialize_with { Ddr::Auth::Group.build(name) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddr-models-1.13.1 spec/factories/group_factories.rb
ddr-models-1.13.0 spec/factories/group_factories.rb