our test code is currently using factory_girl
and I am trying to use fabrication
for my tests to generate objects.
In Factory_Girl
batch = FactoryGirl.create(:transaction_batch)
puts batch # print out a transaction object
In Factory Girls
batch = Fabricator(:transaction_batch)
puts batch # prints out an empty array
Could anyone tell me why the Fabricator is returning an empty array?