Sha256: 5e734ab890cae6b97f826ba55fd234a6ff1c1a021984a2a5cbcf1bde8f41f0e9

Contents?: true

Size: 426 Bytes

Versions: 8

Compression:

Stored size: 426 Bytes

Contents

User.create(name: "Bryan Ricker", username: "bricker", email: "bricker@kpcc.org", password: "secret", is_superuser: true, can_login: true)

Outpost.config.registered_models.each do |model|
  Outpost::Permission.create(resource: model)
end

10.times do |n|
  Person.create(
    :name       => "Test Person #{n}",
    :email      => "test#{n}@gmail.com",
    :location   => "Los Angeles",
    :age        => "#{n + 20}"
  )
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
outpost-cms-0.1.4 spec/internal/db/seeds.rb
outpost-cms-0.1.3 spec/internal/db/seeds.rb
outpost-cms-0.1.2 spec/internal/db/seeds.rb
outpost-cms-0.1.1 spec/internal/db/seeds.rb
outpost-cms-0.1.0 spec/internal/db/seeds.rb
outpost-cms-0.0.5 spec/internal/db/seeds.rb
outpost-cms-0.0.4 spec/internal/db/seeds.rb
outpost-cms-0.0.3 spec/internal/db/seeds.rb