Sha256: 42d5a83a38821aa9110446566889aa5ec4541b358d7782365064410fcc645b79
Contents?: true
Size: 534 Bytes
Versions: 17
Compression:
Stored size: 534 Bytes
Contents
FactoryBot.define do factory :permission do user feature can_create false can_read true can_update false can_delete false end factory :create_permission, parent: :permission do can_create true end factory :update_permission, parent: :permission do can_update true end factory :delete_permission, parent: :permission do can_delete true end factory :all_permission, parent: :permission do can_create true can_read true can_update true can_delete true end end
Version data entries
17 entries across 17 versions & 1 rubygems