class DerailSpecs::FactoryBot
Public Class Methods
create(*args)
click to toggle source
# File lib/derail_specs/factory_bot.rb, line 7 def self.create(*args) ::FactoryBot.create(*args) end
create_list(*args)
click to toggle source
# File lib/derail_specs/factory_bot.rb, line 11 def self.create_list(*args) puts args.to_json ::FactoryBot.create_list(*args) end
not_installed_message()
click to toggle source
# File lib/derail_specs/factory_bot_stub.rb, line 11 def self.not_installed_message puts "factory_bot_rails is not installed in group :test" puts "Please add factory_bot_rails to your Gemfile to use this feature" end