← Back to Upcase

How to reference a local variable in FactoryGirl


(Jonathan twaddell) #1

###UPDATE
I think the local trait answer works. thx


I have a SO overflow question about whether you can create local variables in a FactoryGirl definition. Here’s the question and you can answer there. http://stackoverflow.com/questions/20061854/how-to-get-a-reference-to-a-variable-in-factorygirl Thx in advance!