Class: Synthra::FactoryBotBridge::FakeDataStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/synthra/engine.rb

Overview

Custom Factory Bot strategy

Instance Method Summary collapse

Instance Method Details

#association(runner) ⇒ Object



202
203
204
# File 'lib/synthra/engine.rb', line 202

def association(runner)
  runner.run
end

#result(evaluation) ⇒ Object



206
207
208
# File 'lib/synthra/engine.rb', line 206

def result(evaluation)
  evaluation.object
end