Sha256: 8ed2d7c05227b88adeb0c86dbc1096ca1fcd86177a4d60a5f399420a2cb7dae5

Contents?: true

Size: 535 Bytes

Versions: 58

Compression:

Stored size: 535 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/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

58 entries across 58 versions & 2 rubygems

Version Path
brightcontent-core-2.4.6 spec/spec_helper.rb
brightcontent-core-2.4.5 spec/spec_helper.rb
brightcontent-core-2.4.4 spec/spec_helper.rb
brightcontent-core-2.4.3 spec/spec_helper.rb
brightcontent-core-2.4.2 spec/spec_helper.rb
brightcontent-core-2.4.1 spec/spec_helper.rb
brightcontent-core-2.4.0 spec/spec_helper.rb
brightcontent-core-2.3.4 spec/spec_helper.rb
brightcontent-core-2.3.3 spec/spec_helper.rb
brightcontent-core-2.3.2 spec/spec_helper.rb
brightcontent-core-2.3.1 spec/spec_helper.rb
brightcontent-core-2.3.0 spec/spec_helper.rb
brightcontent-core-2.2.2 spec/spec_helper.rb
brightcontent-core-2.2.1 spec/spec_helper.rb
brightcontent-core-2.2.0 spec/spec_helper.rb
brightcontent-core-2.1.5 spec/spec_helper.rb
brightcontent-core-2.1.4 spec/spec_helper.rb
brightcontent-core-2.1.3 spec/spec_helper.rb
brightcontent-core-2.1.2 spec/spec_helper.rb
brightcontent-core-2.1.1 spec/spec_helper.rb