Sha256: 6aac93053b50be83c4681cf1a1a947c9445a804223cd3a77ff77d3bf29e00a6a

Contents?: true

Size: 583 Bytes

Versions: 7

Compression:

Stored size: 583 Bytes

Contents

TEST_APP = 'testapp_30'
ENV["RAILS_ENV"] = 'test'
require File.expand_path(File.dirname(__FILE__)) + "/#{TEST_APP}/config/environment.rb"

require File.expand_path(File.dirname(__FILE__)) + '/test_macros.rb'

require "rspec/rails"
require "rack/test"

ActiveRecord::Base.logger = nil
ActionController::Base.logger = nil

RSpec.configure do |config|
  config.include Rack::Test::Methods
  config.include TestMacros
  config.color_enabled = true
  config.full_backtrace = true
  config.before(:each) do
    ErrorMessage.delete_all
    clear_test_log
    reset_configuration
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_exception_handler-1.3.0 spec/spec_helper.rb
rails_exception_handler-1.2.1 spec/spec_helper.rb
rails_exception_handler-1.2.0 spec/spec_helper.rb
rails_exception_handler-1.1.2 spec/spec_helper.rb
rails_exception_handler-1.1.1 spec/spec_helper.rb
rails_exception_handler-1.1.0 spec/spec_helper.rb
rails_exception_handler-1.0.1 spec/spec_helper.rb