Sha256: f9046a6015d2ff4abe79b401ba69f5997150af0f3726190b3c2a31fe8ae85e77
Contents?: true
Size: 789 Bytes
Versions: 15
Compression:
Stored size: 789 Bytes
Contents
require 'rubygems' require 'bundler' require 'rails/all' Bundler.require :default, :development require 'rspec/rails' require 'factory_girl' require 'ffaker' # Load factories from fat_free_crm ffcrm_spec = Gem::Specification.find_by_name("fat_free_crm") Dir[ffcrm_spec.gem_dir + "/spec/factories/*.rb"].each {|factory| require factory } # Load factories from spec/factories Dir[File.expand_path("../factories/*.rb", __FILE__)].each {|factory| require factory } Combustion.initialize! # Reload User model after schema is loaded, # so that Authlogic detects password fields load 'user.rb' RSpec.configure do |config| config.use_transactional_fixtures = true end # Cloudfuji::Platform.on_cloudfuji? is false, # so we need to enable it manually FatFreeCRM::Cloudfuji.enable_cloudfuji!
Version data entries
15 entries across 15 versions & 1 rubygems