Sha256: 0dcc4bd191ded3856860e59ad532a332702a5c38f050006c245bae2eaea73969

Contents?: true

Size: 194 Bytes

Versions: 17

Compression:

Stored size: 194 Bytes

Contents

FactoryGirl.define do
  sequence :permission_name do |n|
    "app#{n}"
  end
  
  factory :spud_admin_permission do
    name { FactoryGirl.generate(:permission_name) }
    access true
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tb_core-1.4.3.1 spec/factories/spud_admin_permission_factories.rb
tb_core-1.4.3 spec/factories/spud_admin_permission_factories.rb
tb_core-1.4.2 spec/factories/spud_admin_permission_factories.rb
tb_core-1.4.1 spec/factories/spud_admin_permission_factories.rb
tb_core-1.4.0.1 spec/factories/spud_admin_permission_factories.rb
tb_core-1.4.beta2 spec/factories/spud_admin_permission_factories.rb
tb_core-1.4.beta1 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.10 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.9 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.7 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.6 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.5 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.4 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.3 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.2 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.1 spec/factories/spud_admin_permission_factories.rb
tb_core-1.3.0 spec/factories/spud_admin_permission_factories.rb