Sha256: ad55d6401ddd9b3fd14941723559b16d29111b0249af8915c0b7cb71d533019f

Contents?: true

Size: 555 Bytes

Versions: 3

Compression:

Stored size: 555 Bytes

Contents

ENV["RAILS_ENV"] = "test"
ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require 'rspec/its'
require 'rspec/rails'
require 'capybara/rspec'
require 'factory_girl_rails'
require 'brightcontent-core'

Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }

Rails.backtrace_cleaner.remove_silencers!

RSpec.configure do |config|
  config.mock_with :rspec
  config.use_transactional_fixtures = true
  config.include FactoryGirl::Syntax::Methods
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brightcontent-core-2.6.0 spec/spec_helper.rb
brightcontent-core-2.5.1 spec/spec_helper.rb
brightcontent-core-2.5.0 spec/spec_helper.rb