Sha256: cae44e242eac7a3380925f821aeb4b4f8a8011760075dda65a40811473f06ec6

Contents?: true

Size: 665 Bytes

Versions: 3

Compression:

Stored size: 665 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 }

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

3 entries across 3 versions & 1 rubygems

Version Path
ffcrm_cloudfuji-0.1.7 spec/spec_helper.rb
ffcrm_cloudfuji-0.1.6 spec/spec_helper.rb
ffcrm_cloudfuji-0.1.5 spec/spec_helper.rb