Sha256: 2de48b0600cba842ecf3ad605f1e256287a93da08e4bddd78c4b65d092626a66

Contents?: true

Size: 408 Bytes

Versions: 4

Compression:

Stored size: 408 Bytes

Contents

require 'machinist/active_record'
require 'sham'
require 'faker'

Sham.name  { Faker::Name.name }
Sham.email { Faker::Internet.email }
Sham.title { Faker::Lorem.sentence }
Sham.body  { Faker::Lorem.paragraph }
#Sham.url  { "http://somedomain.com" }

Category.blueprint do
  name
end

MenuItem.blueprint do
  label {Sham.name}
  url { "http://somedomain.com" }
  site_id {1}
end

Page.blueprint do
  name
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
navi-0.0.17 spec/blueprints.rb
navi-0.0.16 spec/blueprints.rb
navi-0.0.15 spec/blueprints.rb
navi-0.0.14 spec/blueprints.rb