Sha256: d43b7120f1138ea1948bb3a702afb64b502186169ed61986c410fef8c7481a11

Contents?: true

Size: 477 Bytes

Versions: 1

Compression:

Stored size: 477 Bytes

Contents

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

begin
  require 'factory_girl'

  factory_directory = Pathname.new(File.expand_path('./spec/factories'))
  FactoryGirl.definition_file_paths << factory_directory

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspectacular-0.52.0 lib/rspectacular/plugins/factory_girl.rb