
Using FactoryBot with a PORO
Psst⌠You can use FactoryBot to test Plain ole Ruby Objects. So go ahead. Extract a PORO. Write a spec. Guaranteed to give you that âI made my bed todayâ kind of feeling. # app/models/arrow_down.rb class ArrowDown # Build an arrow beginning at @from and ending at @to # from |-⎠|...




