Sha256: 02dbf2eeee6a6c04f5d6656d36a0c0f67b09154126019804c30f2e69aed89e90

Contents?: true

Size: 712 Bytes

Versions: 1

Compression:

Stored size: 712 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'
SPEC_ROOT = File.dirname(__FILE__)

require 'bundler/setup'

require 'combustion'
Combustion.initialize! :active_record, :action_controller, :action_view


require 'rspec/rails'
require 'factory_girl'
require 'fakeweb'
load 'factories.rb'

FakeWeb.allow_net_connect = false


Dir["#{SPEC_ROOT}/support/**/*.rb"].each { |f|require f }

RSpec.configure do |config|
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.order = "random"

  config.include FactoryGirl::Syntax::Methods
  config.include FixtureLoader
  config.include ParamHelper
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asset_host_core-2.0.0.beta spec/spec_helper.rb