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.4 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.70.3 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.70.2 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.70.1 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.70.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.69.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.68.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.67.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.66.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.65.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.64.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.63.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.62.1 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.62.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.61.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.60.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.59.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.58.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.57.0 lib/rspectacular/plugins/factory_girl.rb
rspectacular-0.56.0 lib/rspectacular/plugins/factory_girl.rb