Sha256: 7e009b41c6ca65a531faba462c616283abe0cea2d84d9cbb98e3d70101e8b130

Contents?: true

Size: 216 Bytes

Versions: 3

Compression:

Stored size: 216 Bytes

Contents

FactoryGirl.define do
  factory :phrase, class: Corrector::Phrase do
    sequence(:scope) { |n| "UNITS-#{ n }" }
    sequence(:from)  { |n| "#{ n } СЛОВ" }
    to               "ПРЕДЛОЖЕНИЕ"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
corrector-0.1.0 spec/factories/phrases.rb
corrector-0.0.3 spec/factories/phrases.rb
corrector-0.0.2 spec/factories/phrases.rb