Sha256: 11156cf039b7b6fdd59b99d7d6a3e196f5fda1b02e0bfbdca6a42818abefcb90

Contents?: true

Size: 338 Bytes

Versions: 12

Compression:

Stored size: 338 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 }
  storage_limit { 10*1024*1024*1024 }
end

Computer.blueprint do
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
wice_grid_mongo-6.2.4 test/blueprint.rb
wice_grid_mongoid-6.2.3 test/blueprint.rb
wice_grid_mongoid-6.2.2 test/blueprint.rb
wice_grid_mongoid-6.2.1 test/blueprint.rb
wice_grid_mongoid-6.2.0 test/blueprint.rb
wice_grid_mongoid-6.1.1 test/blueprint.rb
wice_grid_mongoid-6.1.0 test/blueprint.rb
wice_grid_mongoid-6.0.10 test/blueprint.rb
wice_grid_mongoid-6.0.9 test/blueprint.rb
wice_grid_mongoid-6.0.8 test/blueprint.rb
wice_grid_mongoid-6.0.7 test/blueprint.rb
wice_grid_mongoid-6.0.6 test/blueprint.rb