Sha256: aa77b31a7655f8461dec54ac4334e463e2d851f225ebf31e2cb72089e995810c

Contents?: true

Size: 239 Bytes

Versions: 5

Compression:

Stored size: 239 Bytes

Contents

FactoryGirl.define do
  factory :ecm_rbac_user_role, class: Ecm::Rbac::UserRole do
    association :user, factory: Ecm::Rbac::Configuration.user_class_name.underscore.gsub('/', '_')
    association :role, factory: :ecm_rbac_role
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_rbac-2.0.0 spec/factories/ecm/rbac/user_roles.rb
ecm_rbac-1.2.1 spec/factories/ecm/rbac/user_roles.rb
ecm_rbac-1.2.0 spec/factories/ecm/rbac/user_roles.rb
ecm_rbac-1.0.1 spec/factories/ecm/rbac/user_roles.rb
ecm_rbac-1.0.0 spec/factories/ecm/rbac/user_roles.rb