Sha256: fde3683400ab2b939666ba941baf16531d41e3376e9e344f6f48aef8f45b4289

Contents?: true

Size: 640 Bytes

Versions: 3

Compression:

Stored size: 640 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'
require 'rubygems'

if ENV["COVERAGE"]
  require 'simplecov'
  require 'simplecov-rcov'
  SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
  SimpleCov.start 'rails'
end

RAILS_ROOT = File.expand_path('../..', __FILE__)
require 'rspec/autorun'

Dir[File.join(RAILS_ROOT, 'spec/support/**/*.rb')].each {|f| require f}
RSpec.configure do |config|
  config.mock_with :rspec
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = 'random'
end

require 'active_support'
require 'active_support/dependencies'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_spec_harness-0.0.3 lib/generators/harness_spec_helper/templates/base_spec_helper.rb
rails_spec_harness-0.0.2 lib/generators/harness_spec_helper/templates/base_spec_helper.rb
rails_spec_harness-0.0.1 lib/generators/harness_spec_helper/templates/base_spec_helper.rb