Sha256: 26080258f344a964b4aa7c3ba12e08493e360e622dab8aa8181998f4b0f1cffb
Contents?: true
Size: 207 Bytes
Versions: 1
Compression:
Stored size: 207 Bytes
Contents
FactoryGirl.define do factory :prefix, class: Corrector::Prefix do sequence(:scope) { |n| "UNITS-#{ n }" } from { 10.times.map { ("А".."Я").to_a.sample }.join("") } to { "КГ" } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
corrector-0.0.1 | spec/factories/prefixes.rb |