Sha256: 4f75dde4219a51ee971c8dc55a493902c6c3533cd7a308f068d499cdc3cc79df

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
ENV["RAILS_ENV"] = "test"
dummy_app = File.expand_path("../dummy", __FILE__)
require 'simplecov'
SimpleCov.start do
  add_filter '/spec/'
  add_filter '/vendor/'
end

require File.join dummy_app, "/config/environment"
ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')

require 'rspec/rails'
require 'active_record'

Rails.backtrace_cleaner.remove_silencers!

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  %w[axel sqlite3].each { |path| require path }

  Dir.glob(File.expand_path('../support/**/*.rb', __FILE__)).each { |file| require file }

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'

  config.infer_spec_type_from_file_location!
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axel-0.0.1 spec/spec_helper.rb