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

Version Path
ffcrm_cloudfuji-0.4.1 spec/spec_helper.rb
ffcrm_cloudfuji-0.3.1 spec/spec_helper.rb
ffcrm_cloudfuji-0.3.0 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.11 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.10 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.9 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.8 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.7 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.6 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.5 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.4 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.3 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.2 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.1 spec/spec_helper.rb
ffcrm_cloudfuji-0.2.0 spec/spec_helper.rb