Sha256: 70cfc7d9479059c54a4e8b7d6c4ebec871a3ff0e907e8bfa4dfca1a77e03aeb7

Contents?: true

Size: 231 Bytes

Versions: 117

Compression:

Stored size: 231 Bytes

Contents

FactoryGirl.define do

  factory :ability, class: Ddr::Auth::AbstractAbility do
    association :user, factory: :user, strategy: :build
    env Hash.new

    initialize_with { Ddr::Auth::AbilityFactory.call(user, env) }
  end

end

Version data entries

117 entries across 117 versions & 1 rubygems

Version Path
ddr-models-2.4.0 spec/factories/ability_factories.rb
ddr-models-2.4.0.rc6 spec/factories/ability_factories.rb
ddr-models-3.0.0.beta.3 spec/factories/ability_factories.rb
ddr-models-2.4.0.rc5 spec/factories/ability_factories.rb
ddr-models-2.4.0.rc4 spec/factories/ability_factories.rb
ddr-models-3.0.0.beta.2 spec/factories/ability_factories.rb
ddr-models-2.4.0.rc3 spec/factories/ability_factories.rb
ddr-models-2.4.0.rc2 spec/factories/ability_factories.rb
ddr-models-2.4.0.rc1 spec/factories/ability_factories.rb
ddr-models-2.3.2 spec/factories/ability_factories.rb
ddr-models-3.0.0.beta.1 spec/factories/ability_factories.rb
ddr-models-2.3.1 spec/factories/ability_factories.rb
ddr-models-3.0.0.alpha.4 spec/factories/ability_factories.rb
ddr-models-3.0.0.alpha.3 spec/factories/ability_factories.rb
ddr-models-2.3.0 spec/factories/ability_factories.rb
ddr-models-3.0.0.alpha.2 spec/factories/ability_factories.rb
ddr-models-3.0.0.alpha.1 spec/factories/ability_factories.rb
ddr-models-2.2.0 spec/factories/ability_factories.rb
ddr-models-2.1.3 spec/factories/ability_factories.rb
ddr-models-2.1.2 spec/factories/ability_factories.rb