Sha256: 9c664f42db809e36355be4ebe22a246957460cc3e13b348475fad554dec1ec18

Contents?: true

Size: 174 Bytes

Versions: 4

Compression:

Stored size: 174 Bytes

Contents

module FactoryBotHelpers
  def self.reload
    FactoryBot.factories.clear
    FactoryBot.sequences.clear
    FactoryBot.traits.clear
    FactoryBot.find_definitions
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
borutus-1.0.0 spec/support/factory_bot_helpers.rb
borutus-0.2.4 spec/support/factory_bot_helpers.rb
borutus-0.2.3 spec/support/factory_bot_helpers.rb
borutus-0.2.2 spec/support/factory_bot_helpers.rb