Sha256: 4721192ae9a762cbc588973da85d5d45bdad98dd439dd2a5558ef17f81ff7e3e

Contents?: true

Size: 551 Bytes

Versions: 44

Compression:

Stored size: 551 Bytes

Contents

##############################################################################
#                             Factory Girl Plugin
##############################################################################

begin
  require 'factory_girl'

  FactoryGirl.definition_file_paths << './spec/factories'

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

    FactoryGirl.find_definitions
  end

  RSpec.configure do |config|
    config.include FactoryGirl::Syntax::Methods
  end
rescue LoadError
end

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
rspectacular-0.70.8 lib/rspectacular/plugins/factory_girl.rb
rspeckled-0.0.16 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.15 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.14 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.13 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.12 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.11 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.10 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.9 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.8 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.7 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.6 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.5 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.4 lib/rspeckled/plugins/factory_girl.rb
rspectacular-0.70.7 lib/rspectacular/plugins/factory_girl.rb
rspeckled-0.0.3 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.2 lib/rspeckled/plugins/factory_girl.rb
rspeckled-0.0.1 lib/rspeckled/plugins/factory_girl.rb
rspectacular-0.70.6 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.70.5 lib/rspectacular/plugins/factory_girl.rb