spec/support/utilities.rb
# Because FFaker has an absurd 249 word limit
Because FFaker has an absurd 249 word limit
Because FFaker has an absurd 249 word limit
def words(n)
  final = []
  while n > 0
    if n < 249
      final += FFaker::Lorem.words(n)
      n = 0
    else
      final += FFaker::Lorem.words(249)
      n -= 249
    end
  end
  final.join(" ")
end
def words ( n ) final = [ ] while n > 0 if n < 249 final += FFaker :: Lorem . words ( n ) n = 0 else final += FFaker :: Lorem . words ( 249 ) n -= 249 end end final . join ( " " ) end
Because FFaker has an absurd 249 word limit
Because FFaker has an absurd 249 word limit
n
<not_specific>