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.11.0 spec/factories/ability_factories.rb
ddr-models-2.10.2 spec/factories/ability_factories.rb
ddr-models-2.10.1 spec/factories/ability_factories.rb
ddr-models-2.10.0 spec/factories/ability_factories.rb
ddr-models-2.10.0.rc2 spec/factories/ability_factories.rb
ddr-models-2.10.0.rc1 spec/factories/ability_factories.rb
ddr-models-2.9.2 spec/factories/ability_factories.rb
ddr-models-2.9.1 spec/factories/ability_factories.rb
ddr-models-2.9.0 spec/factories/ability_factories.rb
ddr-models-2.9.0.rc1 spec/factories/ability_factories.rb
ddr-models-2.8.0 spec/factories/ability_factories.rb
ddr-models-2.8.0.rc1 spec/factories/ability_factories.rb
ddr-models-2.7.6 spec/factories/ability_factories.rb
ddr-models-2.7.5 spec/factories/ability_factories.rb
ddr-models-2.7.4 spec/factories/ability_factories.rb
ddr-models-2.7.3 spec/factories/ability_factories.rb
ddr-models-2.7.2 spec/factories/ability_factories.rb
ddr-models-2.7.1 spec/factories/ability_factories.rb
ddr-models-2.7.0 spec/factories/ability_factories.rb
ddr-models-2.7.0.rc1 spec/factories/ability_factories.rb