Module: Mackarel::FactoryBot

Extended by:
FactoryBot
Included in:
FactoryBot
Defined in:
lib/mackarel/factories/factory_bot.rb

Instance Method Summary collapse

Instance Method Details

#create(what, options) ⇒ Object



6
7
8
# File 'lib/mackarel/factories/factory_bot.rb', line 6

def create(what, options)
  FactoryBot.create(what, options)
end

#create_list(what, number, options) ⇒ Object



10
11
12
# File 'lib/mackarel/factories/factory_bot.rb', line 10

def create_list(what, number, options)
  FactoryBot.create_list(what, number, options)
end