Sha256: 582c98dc2cee85608c6e469afaf813b24fbb14e7efc4af6d83f6f0ff459fa08d

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

require 'machinist/mongoid'
require 'sham'
require 'faker'

Sham.first_name { Faker::Internet.user_name }

User.blueprint do
  first_name 
  year { Time.parse('1980-01-01') }
  last_login { Time.parse('1980-01-01 11:00')}
  computers_number { 1 }
  archived { false }
end

Computer.blueprint do
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
wice_grid_mongoid-6.0.5 test/blueprint.rb
wice_grid_mongoid-6.0.4 test/blueprint.rb
wice_grid_mongoid-6.0.3 test/blueprint.rb
mongoid_wice_grid-4.0.0 test/blueprint.rb