Sha256: 0cfad89c23b25ea93399927f386fbd31e044487fb6070c334475ff9f1eec1ee4
Contents?: true
Size: 311 Bytes
Versions: 5
Compression:
Stored size: 311 Bytes
Contents
# load models require File.expand_path(File.join(File.dirname(File.dirname(__FILE__)),'./test_models')) # Fabrication Fabricator(:user_status) do hp { (0..10).to_a.sample } mp { (0..10).to_a.sample } end Fabricator(:user) do nickname { Faker::Name.name } user_status { Fabricator(:user_status) } end
Version data entries
5 entries across 5 versions & 1 rubygems