Sha256: ec2b8ac6006b785b410b5a1c14f2aec978396a92f7075413bd4b40295e3a2807

Contents?: true

Size: 310 Bytes

Versions: 13

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

::FactoryBot.definition_file_paths << './spec/factories'

if ::FactoryBot.configuration.factories.count.zero? &&
   ::Rails.application.class.name.match(/Dummy/)

  ::FactoryBot.find_definitions
end

RSpec.configure do |config|
  config.include ::FactoryBot::Syntax::Methods
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rspeckled-2.0.1 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-2.0.0 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.4.0 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.3.1 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.3.0 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.2.1 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.2.0 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.1.3 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.1.2 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.1.1 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.1.0 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.0.5 lib/rspeckled/plugins/configuration/factory_bot.rb
rspeckled-1.0.4 lib/rspeckled/plugins/configuration/factory_bot.rb