Sha256: 1d7b0491c2be4cab916380c12ce6da17b60f7bdca5bfb907463bf93ca37b8a9b

Contents?: true

Size: 714 Bytes

Versions: 4

Compression:

Stored size: 714 Bytes

Contents

begin
  require 'simplecov'
  SimpleCov.start do
    add_filter "spec/"
  end
rescue LoadError
  puts "Skipping SimpleCov"
end

# require File.expand_path("../dummy/config/environment.rb",  __FILE__)

# require 'rspec/rails'
require 'delorean'
require 'json_spec'
require 'uuid'
require "crash_log"

# require File.expand_path("../dummy/config/environment.rb",  __FILE__)

Dir[File.expand_path("../support/*.rb", __FILE__)].each { |file| require file }

RSpec.configure do |config|
  config.mock_with :rspec
  config.include Delorean
  config.include DefinesConstants

  config.before(:each) do
    setup_constants
  end

  config.after(:each) do
    teardown_constants
    CrashLog.reset_configuration!
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
crashlog-1.0.7 spec/spec_helper.rb
crashlog-1.0.6 spec/spec_helper.rb
crashlog-1.0.5 spec/spec_helper.rb
crashlog-1.0.4 spec/spec_helper.rb